This repository contains a number of P5.js sketches. These sketches can be run using any local server. For more information on P5.js, visit the P5.js homepage: https://p5js.org.
The following is a list of the sketches included in this repository:
- 10PRINT: Variations on the 10PRINT algorithm
- 10PRINT: Coloured Effect: Variations on the 10PRINT algorithm: Coloured pattern effect
- 10PRINT: Gridded Circles: Variations on the 10PRINT algorithm: Gridded circles
- A* Path Finding Algorithm The A* path finding algorithm with various distance metric options
- Chatbot Number Guessing Game: Using RiveScript to create a chatbot
- Circle Morphing: Examples of morphing a circle into a primitive, and back again
- Example 1: Morphing a circle into a triangle by means of lerping.
- Example 2: Morphing Morphing a circle into a triangle by means of vertex removal, until only the three triangle points remain.
- Example 3: Morphing a circle into a square by means of superellipse parametric equations
- Example 4: Morphing a circle into a square by means of a steer and arrival algorithm.
- Colour Predictor: A simple neural network that predicts whether white or black text is better suited to a given coloured background
- Cube Wave: 3D cube wave
- Earthquake Data Visualisation: Visualisation of earthquake data by means of a Mercator projection
- Flower Power: Creating a relationship between objects and images in P5js
- Fourier Series: Fourier series projects
- Fourier Series Sawtooth Wave: Approximation of a sawtooth wave by taking the first n terms of its Fourier series
- Fourier Series Square Wave: Approximation of a square wave by taking the first n terms of its Fourier series
- Neuroevolution of the Flappy Bird: Neuroevolution applied to the Flappy Bird game
- Random Walks: Random walks constructed with a random walker capable of a Lévy flight
- Steering Behaviour with Text: Steering behaviour with text
- "The Matrix" Digital Rain: Simulation of Simulation of "The Matrix"'s Digital Rain
- Dingbats: Alternative version with Dingbats and colour effects
- Original Version with Various Scripts: Original version with various scripts