aboutsummaryrefslogtreecommitdiffstats
path: root/csci4611/lec/hexagon/hexagon.pde
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-05-24 11:18:46 -0500
committerMatt Strapp <matt@mattstrapp.net>2022-05-24 11:19:55 -0500
commit7a73162607544204032aa66cce755daf21edebda (patch)
tree58578e01f15f34a855d99c32898db9d7a1603e67 /csci4611/lec/hexagon/hexagon.pde
parentdo some stuff (diff)
downloadhomework-7a73162607544204032aa66cce755daf21edebda.tar
homework-7a73162607544204032aa66cce755daf21edebda.tar.gz
homework-7a73162607544204032aa66cce755daf21edebda.tar.bz2
homework-7a73162607544204032aa66cce755daf21edebda.tar.lz
homework-7a73162607544204032aa66cce755daf21edebda.tar.xz
homework-7a73162607544204032aa66cce755daf21edebda.tar.zst
homework-7a73162607544204032aa66cce755daf21edebda.zip
Graduate
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'csci4611/lec/hexagon/hexagon.pde')
-rw-r--r--csci4611/lec/hexagon/hexagon.pde14
1 files changed, 14 insertions, 0 deletions
diff --git a/csci4611/lec/hexagon/hexagon.pde b/csci4611/lec/hexagon/hexagon.pde
new file mode 100644
index 0000000..46eaf2e
--- /dev/null
+++ b/csci4611/lec/hexagon/hexagon.pde
@@ -0,0 +1,14 @@
+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