summaryrefslogtreecommitdiff
path: root/Year_2/IandM/rote
diff options
context:
space:
mode:
Diffstat (limited to 'Year_2/IandM/rote')
-rw-r--r--Year_2/IandM/rote/rote.movbin0 -> 9644292 bytes
-rw-r--r--Year_2/IandM/rote/rote.pde20
2 files changed, 20 insertions, 0 deletions
diff --git a/Year_2/IandM/rote/rote.mov b/Year_2/IandM/rote/rote.mov
new file mode 100644
index 0000000..28c4034
--- /dev/null
+++ b/Year_2/IandM/rote/rote.mov
Binary files differ
diff --git a/Year_2/IandM/rote/rote.pde b/Year_2/IandM/rote/rote.pde
new file mode 100644
index 0000000..1292328
--- /dev/null
+++ b/Year_2/IandM/rote/rote.pde
@@ -0,0 +1,20 @@
+void setup() {
+ size(500, 500);
+}
+
+int th = 0;
+
+void draw() {
+ background(#ffffff);
+ translate(width/2, height/2);
+ rotate(radians(th++));
+ stroke(0);
+ noFill();
+ strokeWeight(20);
+ ellipseMode(RADIUS);
+ ellipse(0, 0, 200, 200);
+
+ noStroke();
+ fill(0);
+ triangle(0, -200, 180, 100, -180, 100);
+}