Close Show/hide page

Processing – 3D Spiral Patterns

Thumbnail - Click me

I’ve been getting comfortable with Processing over the last few days by experimenting with what else but … particles. The three-dimensional patterns that emerge by moving the sliders to change the internal parameters can be quite complex and unexpected, and sometimes strange attractor-like.

The algorithm governing the particle motion is very straightforward. New particles are created with a starting orientation which rotates linearly on 2 axes over time. On each frame, a given amount of x, y, and z rotation is added to each particle and then the particle is translated according to its orientation by a steadily increasing distance.

Click on the buttons in the bottom right corner to change the order that the x, y, and z rotations are applied (which creates very different results from each other). The 3 sliders on top-left control the amount of rotation added per frame; the two sliders in the middle control the rate of ’spin’ for the initial orientation of new particles; and the slider on the right controls the ’speed’ that particles move away from the point of origin.

Main class file| Full source code

Licensed under a Creative Commons Attribution 3.0 License.


5 Responses to “Processing – 3D Spiral Patterns”

  1. felix Says:

    nice!

  2. nurah Says:

    nice ;)

  3. My Cracks and Serials Says:

    My Cracks and Serials…

    I can not agree with you in 100% regarding some thoughts, but you got good point of view…

  4. Jack Says:

    cracks…

    As a result, TrackBack spam filters similar to those implemented against comment spam now exist in many weblog publishing systems..A…

  5. thisnameagian Says:

    Nice graphics, eats up some serious system resources though.

Leave a Reply

Powered by WP Hashcash