← Drawing and animation with p5.js: projects

A night sky

Open project · after lesson 4: Lists and loops

Paint a night sky: a crowd of stars scattered at random, a moon, some ground, and stars that twinkle.

One way it could look
One way it could look. Yours will be different.

You'll use

These light up when your code uses them. Click one to see where you learned it.

Try it yourselfYour edits are saved in this browser.

Milestones

Tick each one when it is true of your project. Nobody marks it: be honest with yourself.

Make it yours

Looking back

Tick every milestone first.

Drawing and animation with p5.js · project badge

★ A night sky

Built with

Milestones

The hardest part