diff options
author | Matt Strapp <matt@mattstrapp.net> | 2021-09-14 12:17:33 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2021-09-14 12:17:33 -0500 |
commit | 8a106372edf9256ee2ff43328c0bef8993b97f6f (patch) | |
tree | 5c84679fead5546e4ac66f9cf1c3c6e503cfcc58 /csci4611/lec/hexagon/hexagon.pde | |
parent | Edit resume (diff) | |
download | homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.tar homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.tar.gz homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.tar.bz2 homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.tar.lz homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.tar.xz homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.tar.zst homework-8a106372edf9256ee2ff43328c0bef8993b97f6f.zip |
lecture fun :^)
Diffstat (limited to '')
-rw-r--r-- | csci4611/lec/hexagon/hexagon.pde | 14 |
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 |