[Fluxus] commits: type primitive

Dave Griffiths dave at pawfal.org
Sun Dec 28 10:07:04 PST 2008


Hi all,

I've added a type primitive which generates geometry from text and ttf
fonts:

http://www.pawfal.org/dave/blog/2008/12/type-primitive/

(build-type "path/to/font.ttf" "text")
(build-extruded-type "path/to/font.ttf" "text" extrude-depth)

At the moment this duplicates some code in the scratchpad application,
but the idea is that it could be used as the starting point to write a
livecoding editor in scheme, inside fluxus (at which point the one in
the app could be dropped).

Known bugs:

* Generates very large meshes, needs a scale to see them properly
* Extrusion isn't closed at the back + some holes in the extrusion atm

Todo:

* (type->poly) so we can treat them as normal poly primitives, and
deform, add textures etc...

cheers,

dave




More information about the Fluxus mailing list