Info for Zeneca's Course

A 10 week digital generative art course, January 13 , 2022 to March 23, 2022

Intro Video: Welcome to Hatch Coding (gets cut off at the very end)

How it works

● Studio by Hatch Coding is a free 24/7 learning platform with 10 years of curriculum.

● Students can upgrade to live 1:1 paid classes (30 or 60 min / week).

● The free course will be a Discord & chat driven cohort with weekly to do items, and channels for every week of topics.

● You can go at your own pace as the course assistants will be helping for the next 6 months. We will be encouraging work over the next 70 days so that we can all cross a finish line together.

How to get Started

Step 1: Follow @CodeCreateEarn on Twitter.

Step 2: Join Zeneca's Hatch Coding Team at

Step 3: Click the Log in button at

Step 3a: if you sign up by email you will need to confirm in your email which will then take you to your Intro page.

How to get coding

Step 1: Pick three interest areas (themes) to customize your learning journey.

Step 2: Finish your first project called Hold A Ball

Step 3: Finish your first challenge by changing the colours

Step 4: Start your second project - you will have 3 choices for which project to pick

How to get better at coding

Keep doing the following:

A) Choose a Project

B) Code your Project

C) Complete a challenge (or two)

D) Repeat A-C and with every repetition, your coding muscles get stronger

How to do "Genesis", your first generative art project

Step 1: Go to

Step 2: Type the following into the IDE:

ellipse(random(50, 350), random(50, 350), 30, 30);

Step 3: Understand what you just wrote

The first line creates a background using a random number between 0 and 255. 0 = black. 255 = white. You will get a random version of gray, sometimes lighter, sometimes darker.

The second line creates a circle which is 30 pixels wide and 30 pixels tall. The two 30s at the end dictate width and height. The left to right position (on the x axis) and the top to bottom position (on the y axis) are dictated by the two "random(50, 350)" commands. You will get a random position of the circle somewhere on the 400 x 400 canvas.

Step 4: Press the refresh button:

And you will see everything change.

This is generative art!

Congratulations. As you get more skills, you can try adding colours, other shapes, additional circles, and anything else you want. But you now know the secret: The core functionality of generative art is this process of getting the computer to change the canvas for you when it runs the code.

How to submit entries to the weekly contests

In any project, click the:

button. Type "Weekly Project Contest" and click "Get Help"

NOTE 1: You can submit your Genesis Art Project ANY TIME YOU WANT this way. You will get feedback on how to improve your ability in generative art. It might take a few days to get the feedback.

NOTE 2: We have weekly generative art competitions, submission deadlines are Wednesdays. Every week you can submit ANY PROJECT using the process above - you don't have to submit to win. You can submit to get feedback to get better.

Curriculum for the 10 weeks

Week 1: Genesis Art - How to get started with Hatch Coding and finish Genesis Art, as above.

Week 2: Colors - How to add variety with colours to your generative art

Week 3: Shapes - How to add variety with shapes to your generative art

Week 4: Variables - How to make the computer remember things so that you can be intentional with your generative art, e.g. picking some colours but not others.

Week 5: Text - How to add variety with text to your generative art

Week 6: Functions - How to add paragraphs to your code so it is better organized

Week 7: Conditionals - How to add variety to your generative art through IF statements. Example: Pick a number between 1 and 3. If 1, draw circles. If 2, draw squares, If 3, draw triangles.

Week 8: Loops - How to add variety to your generative art through loops. Example: You want to draw 100 circles, not just 1. How do you do that without writing "ellipse" 100 times?

Week 9: Arrays - How to be intentional with your choices in variety by creating "boxes" of things. Example: You create a box of 7 colours, and only these 7 colours can be chosen.

Week 10: Final Week Competition - Take everything you have learned and build something amazing.

Weeks 11+: Continual Improvement

You can keep going, learning with our free software and entering contests every week. It takes years to get good at coding, so keep iterating, keep improving and soon you might be winning our open competitions with cash prizes, visibility for your NFT collections and lots of personal growth!

I believe in you!

Last Updated: January 9, 2022.