Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/cube-mesh
Generates subdivided cube meshes
https://github.com/mikolalysenko/cube-mesh
Last synced: about 2 months ago
JSON representation
Generates subdivided cube meshes
- Host: GitHub
- URL: https://github.com/mikolalysenko/cube-mesh
- Owner: mikolalysenko
- Created: 2013-03-15T19:34:55.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-10T15:36:56.000Z (over 11 years ago)
- Last Synced: 2024-10-19T00:19:20.616Z (2 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cube-mesh
=========
Generates a subdivided cube meshInstall
=======npm install cube-mesh
Example
=======```javascript
require("cube-mesh")(10, [2, 2, 2])
````require("cube-mesh")([resolution, scale])`
-------------------------------------------
Returns a subdivided cube mesh* `resolution` is the number of subdivisions per side (either a scalar or an array)
* `scale` is the size of the side-lengths of the cube (either a scalar or an array)Credits
=======
(c) 2013 Mikola Lysenko. MIT License