Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angerman/planarity
https://github.com/angerman/planarity
Last synced: about 9 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/angerman/planarity
- Owner: angerman
- Created: 2011-03-14T20:37:28.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-17T11:45:21.000Z (over 13 years ago)
- Last Synced: 2024-10-11T23:45:14.638Z (26 days ago)
- Language: Clojure
- Homepage:
- Size: 168 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# planar-quad
This is work in progress. On planar local deformations and subdivision approaches.
## Usage
Currently there are three scripts that can be executed.
`$ lein run -m scripts.demo-doo-sabin`
will perform a Doo-Sabin subdivision on a few objects.
`$ lein run -m scripts.demo-catmull-clark`
will perform a Catmull-Clark subdivision on a few objects.
`$ lein run -m scripts.demo-planar-subd`
will perform/attempt a planar subdivision on a few objects.
`$ lein run -m scripts.demo-dual`
will start an interactive jReality session with a 3x3 mesh
that can be dragged on it's boundary. The position of the boundary
will be used to compute the supporting hyperplane for E.It is suggested that the corner points are not moved first!
During dragging the four points q1 to q4 will computed and in case
of solutions that are convex, have a smaller polygon length than the
boundary and a smaller area than the quadrangle inscribed in the four
corner points the solution is constructed and displayed.`$ lein run -m scripts.demo-renderer`
will run the render code to render a cube and it's subdivisions
to TikZ code and finally call XeLaTeX on it. It requires Skim and
XeLaTeX as well as the existence of `~/temp`. This can all be
adjusted in `tikz.clj`.## Installation
It is strongly recommended that [Leiningen](https://github.com/technomancy/leiningen) is used.
`$ lein deps`
`$ lein native-deps`
should be sufficient to install all required dependencies. (JReality,...)
## License
[...]