Creating shapes in Processing 30.11.2018

Chris sent us all a code (below) and we had to add codes into the code the make a circle on top of a square.

code.

//global variables
color red = color (255,0,0);
color green = color (0,255,0);
void setup() {
  size(400,400);
  background(255);
  rectMode(CENTER);
}
void draw() {
}

Leave a comment

Create a free website or blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started