diff options
Diffstat (limited to 'OLD/csci4611/lec')
-rw-r--r-- | OLD/csci4611/lec/hexagon/hexagon.pde | 14 | ||||
-rw-r--r-- | OLD/csci4611/lec/triangles/triangles.pde | 10 |
2 files changed, 0 insertions, 24 deletions
diff --git a/OLD/csci4611/lec/hexagon/hexagon.pde b/OLD/csci4611/lec/hexagon/hexagon.pde deleted file mode 100644 index 46eaf2e..0000000 --- a/OLD/csci4611/lec/hexagon/hexagon.pde +++ /dev/null @@ -1,14 +0,0 @@ -void setup() { - size(800,800); -} - -void draw() { - background(255); - noFill(); - beginShape(); - float lineCount=1000; - for (float i = 0; i<=lineCount; i++) { - vertex(i,400+200*cos(i/80)); - } - endShape(); -}
\ No newline at end of file diff --git a/OLD/csci4611/lec/triangles/triangles.pde b/OLD/csci4611/lec/triangles/triangles.pde deleted file mode 100644 index 6c7306b..0000000 --- a/OLD/csci4611/lec/triangles/triangles.pde +++ /dev/null @@ -1,10 +0,0 @@ -void draw() { - fill(255); - noStroke(); - beginShape(TRIANGLE_FAN); - vertex(50,50); - for (int x=0;x<=8;x++) { - vertex(50+cos(x*PI/5)*30,50+sin(x*PI/5)*30); - } - endShape(CLOSE); -}
\ No newline at end of file |