Crystals

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”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Categories

Moi

I am a programmer in training and I post all my projects and experiments on this blog. Most of my work is done with Adobe Flash, Processing, and Arduino.

Flashy Programming Flickr Photos

SpringyPoints7872

SpringyPoints24387

SpringyPoints18980

SpringyPoints2664

SpringyPoints10737

SpringyPoints21038

SpringyPoints7554

SpringyPoints25562

SpringyPoints3409

SpringyPoints2638

More Photos

Follow

Get every new post delivered to your Inbox.