as3geometry Update
I’ve been working on a GitHub geometry library recently.
view source | click-and-drag the red points to interact
I’ve created various of these over the years, AS1, AS2, AS3, and now AS3+as3signals. It is gratifying to finally have the means to define events in interfaces!
The work uses the alpha of ASUnit version 4 (Rob Penner’s ‘Free Runner’ implementation, though it is not purely Test-Driven Development because in some cases I am refactoring old hitherto-private code. However, the classes in the test repository might serve as a useful example of the upcoming ASUnit library.
The work aims for elegance of structure rather than speed, and I will be concentrating on the Euclidean 2D for the time-being, though may look at extending it into 3D or non-Euclidean plane structures if I ever have the time.
http://github.com/alecmce/as3geometry
Next Steps
- Circle-Line intersections
- Polygon-Polygon intersections (Vertices)
- Polygon-Polygon intersections (Polygons)
- Circle-Circle intersection (Vertices)
- Circle-Line intersection
- Circle Sectors
- Circle Rays
- Circle-Circle intersection (Lens)
- Circle-Circle intersection
- Bezier Curves
- Parabola
-
Mike K
-
Mike K


