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…