CompGeoJS Arrow Shape

compgeojs-blog

Now that an early version of the Polygon class is complete, I can turn my attention to commonly used polygonal shapes.  The CompGeoJS PolygonalShape class serves as a base for developing named shapes that are completely…

Canvas Rectangle Selector

compgeojs-blog

This demo is a very simple rectangle selector for an HTML5 Canvas, written on top of EaselJS.  I will use this in an future CompGeoJS shapes demo and you may find it useful as well.  The…

CompGeoJS Basic Polygon Demo

compgeojs-blog

CompGeoJS is coming along, slowly but surely The basic foundation of the Polygon class in the shapes package is finished and all of the code has been written except for two methods. The pointAt(t:Float) and intersects(p:Polygon)…

CompGeoJS Polygon Proposed API

compgeojs-blog

I’m currently working on the GeomUtils class, which is a set of low-level utilities for analytic geometry and the compGeo.shapes.Polygon class.  The latter is particularly important as a lot of applications are built around polygonal shapes…