Repository navigation
AlgorithmicTypography v0.2.2
What's New in v0.2.2
Added
GlyphExtractor.fillWithPoints(char, float, int)— scatters N random points inside the closed letterform interior using AWT's built-in containment test; counter-forms (holes in B, O, P, R) are correctly excludedGlyphExtractor.distributeAlongOutline(char, float, int)— resamples the full perimeter by arc length so every neighbouring point is equally spaced; spacing is uniform regardless of curve curvatureGlyphExtractor.getOuterContour(char, float)— returns only the outermost closed path, identified via the shoelace formula (largest absolute area)GlyphExtractor.getInnerContours(char, float)— returns all counter-form contours (holes) separately from the outer boundary- String overloads for
fillWithPointsanddistributeAlongOutline GlyphDesignexample demonstrating all four new methods across three interactive modes (interior fill, perimeter dots, outer/inner colouring)
Changed
GlyphExtractorJavadoc updated to v0.2.2 with new feature list
To report an issue: https://github.com/MichailSemoglou/AlgorithmicTypography/issues