Line breaking — 21. 2. 2014

Line breaking, also known as word wrapping or paragraph formation, is the problem of dividing a text into a sequence of lines so that every line spans at most some fixed width. One way of solving the problem is to gradually form the lines word by word. In the case the…

Bridges — 20. 11. 2013

This picture is almost 11 years old. Too old, if you ask me. During the winter 2002/2003 I was working on a school project regarding the topic "bridges". Good "bridges" are better than bad ones so I set out to find an optimal configuration of a truss bridge. The basic principle…

Rendering tutorial — 10. 11. 2013

This post looks into how to turn a 3D scene into an image. The objects of a scene are modeled with triangular primitives connected to a so-called mesh. Every mesh has a material which controls its appearance, currently there is support for a diffuse (i.e. matte) material only. After the…

Making of: Flat API tree — 29. 10. 2013

Next in the "Making of" series are the steps to reproduce the Flat API diagram. One particular thing to note, as it is a very central concept of Flat: create the shapes or strikes at the beginning and reuse across the whole program. This is different from say, Processing, where…

Making of: Even icon — 29. 10. 2013

(Yes, it's there.) There will be a number of examples to illustrate the working with Flat. To start things off with something simple, here is the making of the icon for Even for Mac. The snippet below creates some images with different dimensions, paints them to ever more transparent white and…

Hello! — 29. 10. 2013

What can I say... I'm immensely happy to finally announce the project (or two) I've been working on for quite some time. First is Flat, a Python library for generating and manipulating digital forms of fine art. Second is Even, an application to simplify the usage of Flat (among another