From 6c9b79537f03115c5e2d4883fd407a6ac870bffd Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 11 Jan 2022 10:18:56 -0600 Subject: Resume and rearrange Signed-off-by: Matt Strapp --- OLD/csci4611/lec/hexagon/hexagon.pde | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 OLD/csci4611/lec/hexagon/hexagon.pde (limited to 'OLD/csci4611/lec/hexagon') diff --git a/OLD/csci4611/lec/hexagon/hexagon.pde b/OLD/csci4611/lec/hexagon/hexagon.pde new file mode 100644 index 0000000..46eaf2e --- /dev/null +++ b/OLD/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