Flat 0.3 — 1. 10. 2018

New version! This time it has the same functionality as the previous release. So why the version number bump? Because Python 3 is in, and Python 2 is out! From this release on, Flat only supports Python 3. It also brings a few of very minor improvements/fixes so should you

Flat 0.2, Even 0.2 — 20. 6. 2017

On this hot summer day and not entirely without breaking a sweat, I'm happy to announce the release of Flat 0.2 and Even 0.2! The main new features are completely rewritten analytical rasterizer of Bezier paths and support for Boolean operations on polygons. Additionally, lots of smaller changes were also included:…

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