@TodePond Sorry to interrupt, but a Brit vector is any mechanism for spreading British memes, e.g. Monty Python or Douglas Adams quotes. Or todepond videos.
@txo_elurmaluta It's a maze where the paths have a bias to follow a polar graph of a multi-armed spiral. The animation colors each segment of the maze based on its distance to the starting point with a shifting phase.
@tschundler Right. Their behavior is only coherent because the underlying noise function is coherent. I just add a looping noise value to their start position and scale it back down into a sphere.
@qurlyjoe Yes. After the initial random start, it's purely deterministic, so the same initial conditions should always lead to the same animation.
The frustrating aspect to simulations is that there is no closed loop unless you do some rather contrived forcing to move particles back to their start positions.
This is basically the same code as my flocking algorithms, but looks cooler. 12,000 particles "flock" to be near their loop neighbors while avoiding other collisions.
@danil Ah, sorry, yes you do. Bad reading comprehension on my part.
Though it slows it down even more, one way to get better int to float consistency is to only use 24 bits of the int (right shift by 8 bits) so that it fits cleanly into the mantissa. Arch differences come in the way they round the lowest bits, so to keep it clean, just cut them off.
But as you say, if you're coming from floats, it'll be faster to stay there.
@TomF@aeva As is more common, I'm slightly red insensitive but have no trouble distinguishing red and green. A better test (not better, but different) would test thin red lines on black, or cyan on white, or yellow on bright green.
Pure red error messages on a black console window particularly suck. Ideally, red fonts should always include a bit of green to help it stand out from a black background or from other black text on a light background.