8000 GitHub - ruuzia/fractabubbler: Script to convert font glyphs into a fractal-like circle representation for `Bubbl`
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Script to convert font glyphs into a fractal-like circle representation for `Bubbl`

Notifications You must be signed in to change notification settings

ruuzia/fractabubbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Fractabubbler

This program is created to generate fonts that can be easiliy rendered using Bubbl objects.

The fractabubbler takes in a ttf font and a particular glyph and spits out an svg-conforming file containing only circles. This arrangement of circles of various sizes is designed to mimic the form of the glyph.

How does it work?

The mechanism and design of the fractabubbler is inspired by fractals such as the Apollonian Gasket.

It repeatedly finds the largest circle which can fit within the available space. Computing this position based on the joined Bezier curve segments which a font consists of appears mathematically terrifying. Instead I cheat by rasterizing the glyphs and performing a quadratic search through the bitmap repeatedly.

About

Script to convert font glyphs into a fractal-like circle representation for `Bubbl`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0