Illusion sketch

This commit is contained in:
Xevion
2019-10-23 13:45:43 -05:00
parent 7bb0bb513b
commit babba1fc5a
3 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
def setup():
size(750, 750)
frameRate(250)
background(0)
s = 0
multi = 12.0
def draw():
global s, multi
s += 1
if multi <= 0.3:
noLoop()
multi -= 0.3
pushMatrix();
translate(width/2,height/2);
rotate(s*radians(0.3));
stroke(255)
fill(0, 0, 0, 0)
triangle(-30*multi, 30*multi, 0, -30*multi, 30*multi, 30*multi);
popMatrix();

View File

@@ -0,0 +1,2 @@
mode=Python
mode.id=jycessing.mode.PythonMode