import krister.Ess.*; Channel myChannel; int i = 1; void setup() { size(200, 200); background(80); noStroke(); fill(102); framerate(10); Ess.start(this); myChannel=new Channel(); myChannel.initBuffer(myChannel.frames(5000)); } void draw() { float aF = random(200); float bF = random(200); float cF = random(200); float dF = random(200); float eF = random(200); float fF = random(200); float gF = random(200); float hF = random(200); float strokeW = random(1,4); myChannel.wave(Ess.TRIANGLE,aF*5,.8,0,myChannel.frames(2000)); myChannel.play(); i = i + 1; stroke(cF, bF, 0); strokeWeight(strokeW); bezier(aF, bF, cF, dF, eF, fF, gF, hF); if(i > 50) { noLoop(); PFont font; font = loadFont("Impact-48.vlw"); textFont(font, 28); String s = "sonicspace.org"; fill(0, 202, 153); text(s, 13, 105); } } void mousePressed() { noLoop(); // background(80); } void mouseReleased() { filter(GRAY); loop(); } public void stop() { Ess.stop(); super.stop(); }