Thu Oct 31, 2013
This is a semi-automated backup of my old Tumblr account.
My sudoku
10/31/2013
I dance, I ride my bicycle, I code. It’s all fun.
Flakes
10/29/2013
By varying the slope the effect looks less like a star field and more like snow flakes. Inspired by this one.
The random speeds, directions, sizes and positions makes the loop harder to notice.
Drawing loops
10/29/2013
A small loop-drawing Processing program. Inspired by Deluxe Paint, an Amiga program that allowed this style of animation already 20 years ago.
In this video I explain how to draw such animations.
By the way: did you know that Guybrush Threepwood got his name in part because of Deluxe Paint? One more piece of useless knowledge :)
Cold sun
10/27/2013
A recursive animated imperfect Branch() that grows. Featuring vignetting, noise, blur, a sun and a little shadow.
10/22/2013
Funny how humans see faces everywhere.
10/21/2013
A program plays a video file in the background. The user can only hear the sound from the video and paint using a graphic tablet. From the tip of the pen lines are sketched in different directions. The directions and colors are decided by the color of the corresponding pixels in the invisible video clip being played. Randomness has a limited effect on the result.
It took about 30 minutes to draw this image. The original video shows me cutting a fallen tall tree in a forest in Finland.
10/18/2013
Today I tried creating a class that contains an instance of an object with the same class. Of course it can not be initialized by default, or it would fall into an infinite loop. The point is to have a tree like structure, and commands sent to the parent are cascaded to the children objects. Parents can decide to create children who look and behave like them. Why? I wanted to program a growing tree. And I wanted that if a branch stops growing, child branches also stop growing. A recursive class seemed like a good idea. I’ll post the trees one of these days.
class Recursive { Recursive c; … }
10/18/2013
No randomness this time.
10/17/2013
Recursive combination of two photos.
Spherical coordina
10/16/2013
Convert radius and two angles (spherical coordinates) into x, y, z.
float x = r \* sin(a) \* cos(b);
float y = r \* sin(a) \* sin(b);
float z = r \* cos(a);
I programmed this in Processing. You too can learn! :)
10/15/2013
My first Processing animgif. Overlapping loops of objects that accelerate and decelerate.
10/14/2013
Four circles in each circle
10/08/2013
float i;void setup(){size(900,900,P3D);}void draw(){translate(450,450);rotateY(i+=.017);rotateZ(i\*.13);rect(200,200\*sin(i\*.87),90,90);}//#p5
10/08/2013
[int i,w=900;void setup(){size(w,w);}void draw(){fill(0,4);stroke(255,87);bezier(++i%w,w-(i%w),i/.23%w,i\*7%w,i/.17%w,i/.3%w,i\*6%w,w/2);}//#p5]{.child}
10/08/2013
int[]i=new int[4];
int a,c;
void setup() {
size(900,900);
}
void draw() {
stroke(a<<c);
line(i[0],i[1],i[2],i[3]);
i[a%4]=c=(a+i[++a%4]&a)%900;
}//#p5