Page 1 of 1

Drafting module

Posted: Sat Aug 04, 2012 9:22 am
by pancakepalace
Hi guys and girls,

I just finished a simple drafting module. It permits you to draw all kinds of shapes like ellipses. It also permits you to connect the vertices of one shape to the next using what I called linkers. For example, if you drew two squares, you could then make a cube by linking points A->A, B->B, C->C, D->D. You can run the test.lua file to see some of the possibilities offered by this module. There's one function, draft:compass, which offers many possibilities because the scaling argument can accept functions. For example, you could easily create a function to draw clouds.

You'll find some basic usage instructions on the github page.

I'll add some demos soon, so if you're interested, make sure to look again in a week or so.

Here's the github account: https://github.com/xenakis/Love2D_Draft