Synthesizing thunder using JavaScript(blog.kaistale.com)
blog.kaistale.com
Synthesizing thunder using JavaScript
http://blog.kaistale.com/?p=1340
11 comments
It killed Chrome and made my laptop irresponsible
I know you meant unresponsive, but this conjured up a delightful image of your laptop jumping around the room snapping its lid at people like a set of autonomous false teeth.
I know you meant unresponsive, but this conjured up a delightful image of your laptop jumping around the room snapping its lid at people like a set of autonomous false teeth.
Well, that would be amusing. English is my third language and sometimes I trust too much in the spell checker suggestions.
My graphologies ;)
My graphologies ;)
Well, in some places it's not a great idea to use your computer in an electrical storm if it's connected to a mains outlet.
Sounds like you were lucky.
Sounds like you were lucky.
Andrew Glassner has written about this a lot http://www.glassner.com/computer-graphics/graphics-research/...
(See his references section)
(See his references section)
Great, thanks for this, I'll have to check those out when I'm at a computer with access.
Sounds pretty real to me and the theory behind it is written up very nicely.
I wonder: would this work the other way round? Take a (stereo) recording of thunder and an exact time measurement between the flash and the first sound and plot the flash from that. If that worked, you wouldn't need a huge high speed camera mounted on a truck in order to record how a flash propagates...
Besides issues like temperature, you'd need to to control for interference from geographic features like hills and valleys. It might work in wide open flat spaces like the prairies of the American mid-west.
If you're interested in this, there was a very good program on PBS's science show Nova a month or two back, called 'the edge of space' or something similar, which involved photography of lightning at altitude and later from the space station, resulting in confirmation that lightning interacts with the upper atmosphere as well as the ground.
If you're interested in this, there was a very good program on PBS's science show Nova a month or two back, called 'the edge of space' or something similar, which involved photography of lightning at altitude and later from the space station, resulting in confirmation that lightning interacts with the upper atmosphere as well as the ground.
The biggest gotcha with a time-based measurement of the thunder is the variability of the speed of sound with temperature - about 0.6 m/s per degree Celsius. Given that thunderstorms tend to involve pretty significant temperature shifts, the temperature can vary significantly along the path length.
I'm not complaining about the page or anything, but I'm really surprised how unreliable and fragile are web browsers to pages with javascript. It's using a web worker, but other than that I can't see anything special.