Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.25 KB

Domekit

Domekit is a library and application for generating deodesic solids using JavaScript and Canvas. It will be the basis of the domekit.cc dome generator.

Usage

  • domekit.erb and domekit_demo.js are our sample application, open that thang in a browser (see below)
  • domekit.js is the Domekit library.
  • domekit.cc/generator/index.html is the domekit.cc dome generator

You will need Closure Script to build this project. There is a Ruby and a Java version of the Closure Script tool. Your choice.

Ruby:

gem install closure
rackup

Java:

Download closure.jar into the domekit project directory from https://github.com/dturnbull/closure-script/downloads

java -jar closure.jar

Once you're up and running, browse to http://localhost:8080/

Deploying

rake #builds a copy of the generator to the build directory
git commit -am "re-built generator"
git push heroku

References

Reference geodesic dome generation algorithms: http://www.antiprism.com/other/dome/index.html

Collaborators