Tag: recipe 2

Making my way through the Drawing 3D primitives recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how: the box function can be used with one or three parameters to set different values for depth, width and height of the box. the sphereDetail function can be used to define […]

Read more

Making my way through the Working with colours recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the color function to create a variable of the type colour (c = colour variable), the stroke function to set the colour of the stroke, the fill function to […]

Read more