Please disable AdBlock. CAN is an ad-supported site that takes hundreds of hours and thousands of dollars to sustain.

Pixel Snow [Processing]

pixelsnow01Created by Julian Vidal, Pixel Snow is a processing script enabling real time snow dynamics by drawing objects and letting snow fall on them. You can adjust density of the snow as well as speed it falls. In addition you are able to create snow vortex (eats snow) and additional snow generators. What may appear as a simple snow generator, once you add a number of objects and generators, can quickly turn into a pretty complex example of collision dynamics.

Don’t forget to press SPACE on your keyboard to enable snow, otherwise it will show as black.

An open source script you can download here is somewhat a great example of dynamics possible in processing. Go download it and try it yourself in processing.

Controls

First, click anywhere on the applet to activate it. Then use any of the following options:

LEFT MOUSE BUTTON – Draw.
RIGHT MOUSE BUTTON – Erase.
BACKSPACE or DEL – Clear screen.
+ – Increase shower density.
- – Decrease shower density.
g – Draw a small snow generator at mouse position.
G – Draw a big snow generator at mouse position.
v – Draw a small vortex (eats snow) at mouse position.
V – Draw a big vortex (eats snow) at mouse position.
x – Draw random lines.
i – “Infinite” mode. Stops snow from accumulating at the bottom.
SPACE – Toggle pixel shower.

Some tips:

  • You might not be able to see generators if you have the pixel shower turned on.
  • You can leave the + key pressed for a few seconds to dramatically increase the snow density.
  • Vortexes can only be deleted with BACKSPACE or DEL.

Make sure you also check out Julian’s flash experiments available on his website.

Platform: Processing
Version: N/A
Cost: Open Source
Developer: Julian Vidal

pixelsnow02pixelsnow03

Posted on: 07/01/2009

Posted in: Processing

Post tags:

  • dave

    I dunno where the author of this app is from, but in my experience, that's sand. Snow stacks. Straight up.

  • dave

    I dunno where the author of this app is from, but in my experience, that's sand. Snow stacks. Straight up.

  • http://julianvidal.com/ Julian Vidal

    Dave,

    I'm the author of the script. You are absolutely right. This is actually a spin-off from another Flash experiment which emulated snow. I never changed the name because I forgot. After a few tweaks in the code it turned out looking more like sand than snow.

    This is the flash experiment I'm referring to: http://julianvidal.com/code-actionscript.php?id=17

    By the way, I'm from Argentina!

    Cheers.