summaryrefslogtreecommitdiff
path: root/Year_2/IandM/rote/rote.pde
diff options
context:
space:
mode:
Diffstat (limited to 'Year_2/IandM/rote/rote.pde')
-rw-r--r--Year_2/IandM/rote/rote.pde20
1 files changed, 20 insertions, 0 deletions
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);
+}