summaryrefslogtreecommitdiff
path: root/Year_2
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-02-13 00:36:04 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-02-13 00:36:04 +0100
commit7f14bd95502a017500a4e1f3e7767ee68b1c55e5 (patch)
tree32b7ea98c18ba0c7a1e44ce0e2f900f7e51bee47 /Year_2
parent5ec97dc1ea4a8eec206a908cbb2b8552301a7f35 (diff)
i&m: add exercise
Diffstat (limited to 'Year_2')
-rw-r--r--Year_2/IandM/circles/README.md1
-rw-r--r--Year_2/IandM/circles/circles.pde14
-rw-r--r--Year_2/IandM/circles/image.jpgbin0 -> 38763 bytes
3 files changed, 15 insertions, 0 deletions
diff --git a/Year_2/IandM/circles/README.md b/Year_2/IandM/circles/README.md
new file mode 100644
index 0000000..285ee03
--- /dev/null
+++ b/Year_2/IandM/circles/README.md
@@ -0,0 +1 @@
+![image](image.jpg)
diff --git a/Year_2/IandM/circles/circles.pde b/Year_2/IandM/circles/circles.pde
new file mode 100644
index 0000000..0bab8c2
--- /dev/null
+++ b/Year_2/IandM/circles/circles.pde
@@ -0,0 +1,14 @@
+
+size(500, 500);
+
+background(255);
+
+line(0, height/2, width, height/2);
+
+fill(0, 0, 0, 1);
+ellipseMode(CORNER);
+
+
+for (int c = 50; c < width-50; c+=50) {
+ ellipse(50, height/2-(c/2), c, c);
+}
diff --git a/Year_2/IandM/circles/image.jpg b/Year_2/IandM/circles/image.jpg
new file mode 100644
index 0000000..cb898d9
--- /dev/null
+++ b/Year_2/IandM/circles/image.jpg
Binary files differ