Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Click record or press 'R'
to start/stop recording (max. 10 secs)

Click capture or press 'R'
to take a screenshot


Heat Distribution

Simulation of the distribution of heat in a simple system. Each pixel represents a single "heat" value. Each pixel is updated by averaging the amount of heat around it, thus the heat will flow to cooler areas. The value is then translated into a color from the color gradient (which makes it look ten times cooler). I broke out the gradient into its own separate class in case someone finds it useful. Left Mouse: Apply heat Right Mouse: Remove heat

Heat Distribution

Simulation of the distribution of heat in a simple system. Each pixel represents a single "heat" value. Each pixel is updated by averaging the amount of heat around it, thus the heat will flow to cooler areas. The value is then translated into a color from the color gradient (which makes it look ten times cooler). I broke out the gradient into its own separate class in case someone finds it useful. Left Mouse: Apply heat Right Mouse: Remove heat
e.g. "mouse, keyboard"
e.g. "visualization, fractal, mouse"
learn more about Creative Commons

As a Plus+ Member feature, this source code is hidden by the owner.