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
Below you can ask and answer questions related to this video. If your question is unrelated to the video, please post it at the Processing Forum as I'm unable to help with all of your programs and still have enough free time to eat and sleep :)
comments powered by Disqus