Author Topic: doily knitter  (Read 2883 times)

fnoobler

  • Guest
doily knitter
« on: November 12, 2012, 10:47:09 PM »
The way this works is you start with a set of lines and apply 2D vectors to them. Its set up with only one initial line and I haven't tested with more. Applying a vector to a line adds 3 lines to make a quadrilateral. Doing that to a quadrilateral makes something that looks like a cuboid. From a cuboid, maybe you could call it a 2D projection of a 4 dimensional cuboid, but I don't know enough maths to say.

One problem is I found it hard to get the end result to fit, and would wait about ten minutes before seeing some of it was off the window, or it was too small. Then it was back to fiddling with the offsets and scale.

Another problem is it makes duplicate lines which make more duplicate lines. That doesn't affect how it looks, but it could be an issue if the code is developed for anything where the drawing gets an alpha value to make it transparent.

fnoobler

  • Guest
Re: doily knitter
« Reply #1 on: November 12, 2012, 10:49:14 PM »
When I said "quadrilateral" I think I should have said "parallelogram".

fnoobler

  • Guest
Re: doily knitter
« Reply #2 on: November 13, 2012, 10:42:31 PM »
I've attached a color version.