My eighth TAD project is a Processing sketch that rotates two PNG images in opposite directions. The images were drawn in GIMP using brushes by redheadstock.
Source code:
/** Rotating Sigils * by Joshua Madara, hyperRitual.com * Sigils drawn in GIMP with brushes by * http://redheadstock.deviantart.com/ */ PImage sigil; PImage ring; float counter1 = 0; float counter2 = 0; void setup() { size(400, 400); sigil = loadImage("sigil.png"); ring = loadImage("ring.png"); imageMode(CENTER); } void draw() { background(0); // rotate and draw ring counter1+=0.005; pushMatrix(); translate(width/2, height/2); rotate(counter1); image(ring, 0, 0); translate(-width/2, -height/2); popMatrix(); // rotate and draw sigil counter2-=0.005; pushMatrix(); translate(width/2, height/2); rotate(counter2); image(sigil, 0, 0); translate(-width/2, -height/2); popMatrix(); }
coolness