Skip to content

snsinfu/3dpile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three-dimensional visualization of Abelian sandpile model

This repository contains the source of a web page that shows a three-dimensional visualization of Abelian sandpile model using Three.js.

Usage

The instruction below uses yarn. Install dependencies and start a dev server:

$ yarn install
$ yarn snowpack dev

Then, open http://localhost:8080.

Or, you can snowpack build the app and serve it via a web server. The following example uses Python's http.server module:

$ yarn snowpack build
$ cd build
$ python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...