Cake holders

Now you’ve learned how to bake some delicious Cake objects (hop over here if you’ve forgotten!), we need something to put them in. Step forward arrays. Arrays are a special sort of list – they have slots in them, like an old-fashioned milk bottle holder, that you can place things into. The restriction is that you have to tell Processing when you create your list both how big you want it to be, and what sorts of thing you want to put into it. Afterwards, your array can only hold a maximum of that number of those particular objects. For … More

Cake & coding: recipes for creativity

Coding is nothing more than telling a computer what to do to achieve your creative goal. It’s like making a fabulous cake using a rather stupid robot. You have to assemble all your ingredients and equipment, then tell the Rather Stupid Cake Robot exactly what to do with each thing to make your cake.