Another very simple Processing script. Nothing fancy just three points with circle orbits and blur on every step to ensure the fading of the “tails” but still looks nice.
int R = 20; //radius
int speed = 2; // speed
int t = 0;
float x;
float y;
int offx = 0;
int offy = 0;
void setup(){
size(80,80);
[...]
AquilaX’s development blog
You are currently viewing the category archives of Processing
Category Archives: Processing
Chasing balls with faiding tails
Spirograph with Processing
I continue my tests with Processing. Today’s project is simple Spirograph. The formulas are taken from here.
int R = 130; //Outer radius
int r = 15; //Iner radius
int O = 7; [...]
Simple terrain generator in Processing
Here is simple processing script for generating random terrains using Perlin noise. The good thing is that Processing has integrated noise() function and all you have to do is call it with the coordinates as parameters. Then assign the colors depending on the “height” of the point and add some randomness to the snow to [...]