https://github.com/technohippy/teddyjs
Experimental Implementation of Teddy in JS
https://github.com/technohippy/teddyjs
Last synced: 3 months ago
JSON representation
Experimental Implementation of Teddy in JS
- Host: GitHub
- URL: https://github.com/technohippy/teddyjs
- Owner: technohippy
- Created: 2014-11-02T06:57:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-04T14:06:57.000Z (over 10 years ago)
- Last Synced: 2025-03-25T07:01:38.708Z (4 months ago)
- Language: JavaScript
- Homepage: http://technohippy.github.io/teddyjs/
- Size: 2.5 MB
- Stars: 31
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Teddy.js/PaintUp
JavaScript Version of [Teddy](http://www-ui.is.s.u-tokyo.ac.jp/~takeo/teddy/teddy.htm) and a Demo Application for the library
## Teddy.js

The teddy.js allows you to build a 3D mesh from a 2D coutour. Briefly speaking, the mesh-buiding procedure is described below:
1. Triangulate a countour.
2. Retrieve a spine.
3. Re-triangulate based on the spine.
4. Raise polygons around the spine.To know about the algorithm in detail, please see [the original paper](http://www-ui.is.s.u-tokyo.ac.jp/~takeo/papers/siggraph99.pdf).
Note that though the original teddy described in the paper realizes some other operation than pumping a countour such as extrusion, cutting and so on, the teddy.js can only pump a 2D figure.
## PaintUp
https://technohippy.github.io/teddyjs/


PaintUp is a sample application utilizing teddy.js. You can:
- Build a 3D model from your 2D painting.
- Download a built 3D model in obj/stl format.
- Use this on your smartphone.### How to Use
Paint  or cut  the canvas then push 3D button . That's all you should do to build a 3D model.
### How to Install
If you are using Chrome for Android, you can use the web app like a native app by using "Add to home screen" menu.

The term "like a native app" here means:
- The application icon exists on the home screen.
- The application can be used without any address bar.
- The application can be used off line if the day comes where a Chrome for Android suppots Service Workers.
## Author
Ando Yasushi ([email protected])