Your browser does not support the canvas tag.

manyShapesFuncion2

Another version to draw one thousand randomly placed and randomly sized ellipses and rectangles each. This time a single function draws either a random ellipse or a random rectangle, depending on the parameter.

Source code: manyShapesFuncion2

Built with Processing and Processing.js