Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P5.JS

Exploring P5.JS JavaScript library.

View the pieces of code on the P5.JS website 'My Sketches'

Simple Swimmer

Ported from my original QB64 version.

View online

The code on Github:

Animated GIF file created using the saveGif() function:

simpleswimmer.gif

Golden Dragon

One of the classic Iterated Function Systems.

Using information from https://larryriddle.agnesscott.org/ifs/heighway/goldenDragon.htm

View online

The code on Github:

Animated GIF file created using the saveGif() function:

golden-dragon/golden_dragon.gif

Floaty

A 'creature" with long tentacles that seems to float in circles. All made from math functions

View online

The code on Github:

Animated GIF file created using the saveGif() function:

floaty/floaty.gif

Sin tiles

A animated image based on the iteration after choosing a random starting point x,y:

x = x + sin(y)
y = y + sin(x)

View online

The code on Github:

sin_tiles/sin_tiles_small.gif

Bubble Universe

The algoritm is found on many places on the web.

The example used as reference, in Sinclair Basic on a PC by BigEd: https://stardot.org.uk/forums/viewtopic.php?t=25833

View online

View on Youtube

The code on Github:

A still from the animation:

bubble-universe/bubble_universe.png

Bouncing Points

Exploring Vectors and UI sliders in P5.JS

A toy which bounces points inside a circle, influenced by gravity and friction

View online

The code on Github:

View on Youtube

A still from the animation:

vectors/bouncing_points.png

Interference

Interference, a visual effect based on the general idea of two point wave sources with an interference pattern.

The point sources travel in circular paths changing their distance from each other continuously.

This idea was first implemented using QB64

View online

The code on Github:

View on Youtube

A still from the animation:

interference/interference.png

About

Exploring P5.JS JavaScript library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages