Coder Social home page Coder Social logo

gevvvvv / polyhedronisme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from levskaya/polyhedronisme

0.0 1.0 0.0 672 KB

An html5+coffeescript tool to construct and explore polyhedra.

Home Page: http://levskaya.github.io/polyhedronisme/

CoffeeScript 29.54% JavaScript 67.56% CSS 0.70% HTML 2.20%

polyhedronisme's Introduction

polyHédronisme

This is a project built to demonstrate the Conway Polyhedral Operators and their extensions by George W. Hart. It was heavily inspired by some old code of George Hart's that did much the same in VRML. Additional operators are being added to increase the range of procedurally generated forms possible.

One derives any of a vast family of polyhedral shapes by specifying a core geometric 'seed' and then modifying it with topological and geometrical operators that derive more complex shapes from this base set.

It should runs on any modern canvas-enabled browser.

This project was also inspired by the renaissance tome Perspectiva Corporum Regularium featuring engravings by Jost Amman after designs and drawings by Wenzel Jamnitzer.

It is written in coffeescript. Uses jQuery, underscore, PEG.js parser for parsing recipes, and Eli Grey's BlobBuilder, FileSaver, canvas-toBlob for saving files.

Future

  • Switch rendering to Three.JS
  • WebGL frontend to replace the hand-rolled, slow canvas renderer, for those browsers that can use it.
  • 2d vector export to SVG
  • integration of csg.js lib for complex mesh joins
  • geometric distortion operators, i.e.:
G x**2,y**2,z**2 => poly.xyz = _.map(poly.xyz, ([x,y,z]) -> [x*x,y*y,z*z])
  • Simple boolean operations on like-numbered faces: "cut and glue"
  • proper touch event handling for mobile

Text CC-BY, Code MIT License 2011 Anselm Levskaya

polyhedronisme's People

Contributors

levskaya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.