|»Author||Bob | Search by Bob|
|»Description||This is a somewhat interactive forward Euler simulation of a 2-dimensional n-body problem in orbit mechanics. It runs a decent number of bodies (20, 30, 40 or higher random, mutually attracting bodies depending on the processor) at 12 frames/sec due to its simplistic, innacurate, unstable numerical "solver". Follows the inverse square law for gravity with a fairly compact and numerically efficient code. Features include tracing trajectories and mapping gravity vectors by magnitude on user demand (button press). Not the most rigorous science, but makes for generated art with a few more tricks than your average bowl of goldfish. I hope you enjoy watching it as much as I do on slow TV nights. The problem kept Newton up nights too until he finally sat down, invented calculus, and proved it can't be solved.|
The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.