Tag: recipe 4

Making my way through the Accessing screen size and density recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the Android DisplayMetrics class to determine general information about the display of the device used to run the sketch.  While this is more of a diagnostic […]

Read more

Making my way through the Making polygon soup recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to create a 3D cylinder with a flexible function that allows for the top, bottom and sides of the cylinder to be customised. In this recipe, the QUAD_STRIP parameter (draws a series […]

Read more

Making my way through the Drawing text recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to declare PFont objects for the fonts to be used in the Sketch and set the second parameter of the textFont function to determine the size of the text. For example, textFont […]

Read more
css.php