Architectural Sections in CompGeoJS

I want CompGeoJS to be useful to devs working on architectural applications, floor planning, and 2D layout, so I’ve added support for some simple drafting shapes, namely C-secitons, L-sections, and I-sections.  These are fundamentally simple polygonal…

CompGeoJS Star Shape

compgeojs-blog

I just added a Star shape to the CompGeoJS library that can be defined by the usual bounding rectangle and two additional parameters. A Star shape is typically defined by a number of points that are…

CompGeoJS Regular N-Gon

Regular n-gons with greater than three sides (we already have a Triangle class in CompGeoJS) can be created using a bounding rectangle and a parameter indicating the number of sides.  The smaller rectangle dimension is used…

CompGeoJS Triangle Class

compgeojs-blog

Well, I agree that a triangle does not sound very interesting, but it is an important geometric shape. A triangle in CompGeoJS may be created with a bounding rectangle and a small set of parameters. A…

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…

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…

CompGeoJS Demo: Interactive Number Line

I’m pleased to announce that the first CompGeoJS demo is now line.  One possible use of the CompGeoJS library is for educational applications in mathematics that may involve anything from number lines to graph axes.  The…