After a afternoon of staring, mesmerized, at Jared Tarbell’s amazing work, I was inspired to try to remake Substrate. Well, by the time I finally figured out how to detect when points intersect lines, I had sort of forgotten what Substrate looked like. As a result, I started tinkering with the particles and their angles.
The program is fairly simple, it is comprised of particles displayed as points on the screen. The screen is not cleared after each frame so the points, when moving, look like lengthening lines. This was pretty simple to put together. The next thing to do was limit the particles’ movement to make them look interesting. Basically, they stop moving if they hit one of the window’s boundaries or if they hit of the other lines on the screen. To check for the latter, each particle checks to see if there are black pixels “in front of them.” This makes the lovely intersecting look which, in my opinion, makes Substrate so nice.
So, here it is!
Click to create new particles. Use the UP and DOWN arrows to increase or decrease the angle at which new particles spawn (just try it and it will make more sense).
Crystals (Chrome only, I think)
Crystals (Not Chrome only)










































0 Responses to “Crystals”