I have been experimenting with the P5JS library. P5JS is an open source JavaScript library for creative coding. It can be found here:
P5JS provides easy to use functions for graphics, sound and user input.
The Nature of Code
I have been working through The Nature of Code by Daniel Shiffman. It provides a great introduction to techniques for real-time simulations and animations. The full text of the book is available for free here:
https://natureofcode.com/book/
The author hosts a YouTube channel with an enormous amount of educational content for creative coding:
https://www.youtube.com/user/shiffman
Here’s a randomly selected video I found interesting:
In fact it inspired me to make my own image:

My JavaScript Sketchbook
I have been collecting the JavaScript sketches that I have made here:
https://goshdarngames.com/js_sketches/
Sketches are quickly hacked together projects to learn a technique or library. It’s a lot of fun to work on small projects like these and some of the have turned out to be rather fun to play with as well.
This video shows a sketch I made exploring Simple Harmonic Motion.
There are lots of fun JavaScript libraries I am eager to play with. E.g.
- D3js – Data Visualization
- MatterJS – 2D physics engine.
- BabylonJS – 3D rendering
- AmmoJS – 3D physics
- ML5js – Machine Learning library
There are lots of exciting things to explore with JavaScript.