Drafting module

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
pancakepalace
Prole
Posts: 40
Joined: Wed Aug 03, 2011 3:13 pm

Drafting module

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 188 guests