public
Fork of rikrd/geomerative
Description: Geomerative is a library for Processing. It extends 2D geometry operations to facilitate generative geometry. Includes a TrueType font and an SVG interpreters. This library exposes the shapes (such as vector drawings or typographies) in a more approchable way. Geomerative makes it easy to access the contours, the control points and the curve points, making it easy to develop generative typography and geometry pieces in Processing.
Homepage: http://www.ricardmarxer.com/geomerative
Clone URL: git://github.com/markluffel/geomerative.git
geomerative / TODO
100644 44 lines (33 sloc) 1.675 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
* Implement methods of RShape and RGroup
-------------------------------------------
 
** insertNode* methods: should modify in-place
*** insertNode()
*** insertNodes()
*** insertNodesAll()
** segment*() methods: should return a segmentated result
*** segment()
*** segmentMode()
**** must determine how the segmentator sould split the commands (force the splitted commands to LINETO s)
** adapt*(): should return an adapted result
** split*(): should return the two resulting sides fo the split
** simplify( int n = numNodes / 3 ): return a simplified version removing n nodes
** polygonize(): return a polygon version (like toPolygon)
** skeleton(): return the skeleton of the shape or group
 
 
* Internals
--------------------------------------------
 
** Object hierarchy revision
*** RCommand -> RCubicBezier, RQuadBezier, RLine, RArc should all inherit from RCommand
*** RGeomElem -> RGroup, RShape, RSubShape, RCommand should all inherit from RGeomElem
** Cache of polygons, meshes, etc
** Add color and stroke weight infromation to the vertices.
 
 
* API
--------------------------------------------
 
** Rename createCircle -> createEllipse
** Rename setSegmentator -> segmentMode
** Rename setAdaptor -> adaptMode
** Move createEllipse, createStar, createRectangle... into RGeomerative.*
** Move segmentMode, adaptMode... into RGeomerative.*
** Uniform a bit more the methods for the different GeomElements, try treating the se same way a Shape, Polygon, Mesh, Contour, Subshape,... or at least have many common methods. Maybe rewrite the library from scratch when I get some freetime!!!
 
 
* Documentation
--------------------------------------------
 
** Everything!!