// Example 3 - Lime Rounded Rectangle on Red background function setup() { createCanvas(640, 480); background('red'); stroke('blue'); strokeWeight(8); fill('lime'); // top radius are 5 and 10 (less rounded) // bottom radius are 15 and 20 (more rounded) rect(50, 50, 640 - 100, 480 - 100, 5, 10, 15, 20); }
No comments:
Post a Comment