Skip to content
Procedural graphics stuff made with: marching cubes, JavaScript, PlayCanvas
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.eslintrc
LICENSE
README.md
async.min.js
camera.js
entity-creator.js
hammer.min.js
localserver
marching-cubes.js
perlin.js
procedural-component.js
windowsPythonServer.py
work-queue.js
wrapping-array.js

README.md

proced

screenshot2 screenshot

procedural graphics stuff using marching cubes, javascript, playcanvas

Blog post / write-up about the thing

https://rabid.prototyping.xyz/3d-infinite-terrain-generation-in-javascript-using-marching-cubes-and-playcanvas/

Flash talk 'slides' I made using only code in this repository

https://videopress.com/v/uDKGASGw

Live demo

http://playcanv.as/b/7Mw2jbzZ

License stuff

hammer.min.js (MIT)

/*! Hammer.JS - v1.1.3 - 2014-05-20

async.min.js (MIT)

From here: https://github.com/caolan/async

perlin.js ("public domain")

  • This code was placed in the public domain by its original author,
  • Stefan Gustavson. You may use it as you see fit, but
  • attribution is appreciated.

camera.js

From old PlayCanvas tutorials that have been removed from their site.

marching-cubes.js

Lookup tables:

Rest of the code is a js port I made from the code I found at Paul Bourke's page above.

Everything else (MIT)

You can’t perform that action at this time.