From 7a73162607544204032aa66cce755daf21edebda Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 24 May 2022 11:18:46 -0500 Subject: Graduate Signed-off-by: Matt Strapp --- csci4611/lec/hexagon/hexagon.pde | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 csci4611/lec/hexagon/hexagon.pde (limited to 'csci4611/lec/hexagon/hexagon.pde') 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 -- cgit v1.2.3