Learn creative coding writing simple programs

78. An array is like a book full of numbers

Review of previous episode where we created a cloud of points spinning in 3D. We try to understand how do arrays work, and we imagine them to be like books, where each page is an element of the array. We also do a small change to the program replacing point() by line(), so we create something that looks like a spinning star in 3D.

Tags: rotatey, rotate, animate, animation, star

Code editor

You can make changes to the code below. Then
Questions and comments are welcome! :) But please try to stay close to the topic of this episode. Use the Processing forums for help with your Processing projects (or hire me for help ;-)