Skip to content

johnnyawesome/floatingCubes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

floatingCubes

A grid of Cubes, floating like water

FloatingCubes

Floating Cubes is written in P5JS, which is a library that allows you to use Processing Syntax in Javascript.

How it works

  • The cubes are objects
  • The grid of cubes is a two-dimenaional array
  • The wave-patterns are generated with two-dimensional perlin noise

The idea

I got the idea from this gametrailer (Bound). I wanted a version of the floating cubes without clipping. :)