We are going to learn to creatively code using JavaScript. In the process we will learn about the critical side of generative art, and also the technicalities of code.
There are a lot of different languages you can use for creative coding, and it doesn't really matter which you choose. However if you aim to have the code work on the web then JavaScript is the best choice as its the language of the browser. We will learn JavaScript through creative coding, primarily through the p5js library.
Why p5js, well its very popular, easy to pick up and you will become part of a huge community of coders sharing their artwork, willing to help you along the way.
We will start by talking about Generative Art and rule based systems commonly used in art and design
JavaScript is an amazing language - lets look at the fundamentals quickly.
Arrays and objects are just types of variables. At first they look confusing, but once you get used to them they become essential tools. When you've got more than one thing to control you'll reach for them.
Often you want to get your artwork out of the browser, lets explore how to save it.
The ability to make SVGs with code means you can output vector graphics, infinitely scalable and really useful for computer controlled drawing and cutting.