Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function setup() {
- createCanvas(500,500)
- background(0,0,0)
- ellipse()
- }
- function draw() {
- ball()
- rectangles()
- }
- function ball() {
- ellipse(30,30,30)
- fill(255,255,255)
- stroke(255,255,255)
- }
- function rectangles() {
- rect(20,20,30,30)
- stroke(255,255,255)
- fill(255,255,255)
- }
Add Comment
Please, Sign In to add comment