diff options
author | Matt Strapp <matt@mattstrapp.net> | 2022-01-11 10:18:56 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2022-01-11 10:18:56 -0600 |
commit | 6c9b79537f03115c5e2d4883fd407a6ac870bffd (patch) | |
tree | a26cecd37bb254795e8a847ca7235d5e7236ff54 /OLD/csci4611/lec/triangles | |
parent | finish 3606 (diff) | |
download | homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.tar homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.tar.gz homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.tar.bz2 homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.tar.lz homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.tar.xz homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.tar.zst homework-6c9b79537f03115c5e2d4883fd407a6ac870bffd.zip |
Resume and rearrange
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'OLD/csci4611/lec/triangles')
-rw-r--r-- | OLD/csci4611/lec/triangles/triangles.pde | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OLD/csci4611/lec/triangles/triangles.pde b/OLD/csci4611/lec/triangles/triangles.pde new file mode 100644 index 0000000..6c7306b --- /dev/null +++ b/OLD/csci4611/lec/triangles/triangles.pde @@ -0,0 +1,10 @@ +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 |