The following is a “Coding Challenge” video from Daniel Shiffman, in which he explores the generative artwork “10PRINT”.
He prefaces this video with the following;
Notice: In the video, he uses the keywork
letinstead ofvar. This is another way of specifying variables in JavaScript. This is a relatively new alternative keyword, that has certain differences thanvar. Both are valid for you to use.
| [ Code Download ] | [ View on GitHub ] | [ Live Example ] |