diff options
Diffstat (limited to 'packages/svgbob/concepts.md')
-rw-r--r-- | packages/svgbob/concepts.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/svgbob/concepts.md b/packages/svgbob/concepts.md new file mode 100644 index 0000000..f550968 --- /dev/null +++ b/packages/svgbob/concepts.md @@ -0,0 +1,11 @@ + +Turns svg into text respresentation by approximating the lines, +circles, arcs into character blocks + +A bounding box of a line is computed and the rectangles (AKA the cells) in the grid +are then tested which points for each rectangle intersects the line. +This points are then approximated into the closes SubCell location. + +Each subcell will now contain drawing fragments such as line, arc, circles +and then tried to be match to which characters/letter/ascii would best +represent the drawing fragment. |