20-08-08 08:09 Age: 2 yrs

Sketchgine - first lines of code

Category: Technology


At the weekend I spent some hours designing a little engine. It's called Sketchgine. The name is a shortcut for Sketch Engine. After my research on informal line drawing and the little effect I wrote (Sketchy Cube) - I thought about wrapping the functions together into a little engine for easier use.

Well, I really did not make a big concept before I coded - just some thoughts I wrote down on paper (see photos). So I guess the overall code design is not that good - but well it is hacked together ;-). The coordinate-system the engine uses is shown in the second photo. It reaches from minus 1 to plus 1. The sketch vectors are therefore in floating numbers and the engine uses its own file format.

What it really needs now is an editor to create some sketchy objects to play with. Will see if I manage to find the time to write a little application for that. Right now the engine itself just features just the very basic parts of the engine - like creating an object, drawing, scaling, transforming it and so on.

When the project is more stable I will release some technical demos and also the engine as a library itself. So, let's wait and see...