Skip to content

Some of my older Creative Coding projects using p5.js

Notifications You must be signed in to change notification settings

Stukeley/p5js-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

p5js-projects

Some of my older Creative Coding projects made using p5.js. Some were initially made with Processing and later "rewritten" using p5. Below you'll find a short description of each project in this repository.

Bogo Sort, Bubble Sort, Quick Sort, Radix Sort

Simple visualisations of some sorting algorithms. https://editor.p5js.org/Stukeley/full/Symsgx5vm <- BUBBLE https://editor.p5js.org/Stukeley/full/H1Akfg5wQ <- BOGO https://editor.p5js.org/Stukeley/full/S12jGAaDm <- RADIX https://editor.p5js.org/Stukeley/full/r13jJDnwX <- QUICKSORT

Sorting Algorithms Visualised

All four of the above in one project. https://editor.p5js.org/Stukeley/full/SJGUCxVd7

Barnsley Fern

Generates the Barnsley Fern fractal using pre-defined mathematical rules. Five different colour modes, one is assigned at random every time the app is started. https://editor.p5js.org/Stukeley/full/HJN2aqdwX

Chaos Game

Generates the Chaos Game fractal, starting with three random points and then generating additional points in half of the distance the previous point and a random vertex. One colour mode, automatically refreshes roughly once every 3 seconds. https://editor.p5js.org/Stukeley/full/rJIT6myJ4

Game of Life

Imitates Conway's Game of Life, a cellular automaton, starting with a random set of dead and alive cells, then applying rules to every cell based on how many dead and alive cells there are in its direct neighbourhood. https://editor.p5js.org/Stukeley/full/ryNpj9ODQ

Lissajous Curve Table

A table of Lissajous Curves (graphs of parametric equations describing complex harmonic motion) with different parameters in each column and row. https://editor.p5js.org/Stukeley/full/B1O9sKQ9Q

Matrix Digital Rain

Pretty self-explanatory. Three different colour modes. https://editor.p5js.org/Stukeley/full/ryIu8sUOm

PI Approximation

Approximating PI using the Monte Carlo method. It's highly random, each run of the project will yield a different PI value. https://editor.p5js.org/Stukeley/full/rkzxj5FvX

Sierpinski Triangle

Generates a Sierpinski Triangle for a pre-defined amount of "levels" and changes colour every frame. https://editor.p5js.org/Stukeley/full/B1Yiti_Pm

About

Some of my older Creative Coding projects using p5.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published