diff options
Diffstat (limited to 'Year_2/IandM/circles')
-rw-r--r-- | Year_2/IandM/circles/README.md | 1 | ||||
-rw-r--r-- | Year_2/IandM/circles/circles.pde | 14 | ||||
-rw-r--r-- | Year_2/IandM/circles/image.jpg | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..cb898d9 --- /dev/null +++ b/Year_2/IandM/circles/image.jpg |