Author Topic: doily knitter  (Read 975 times)

fnoobler

  • Regular Member
  • Newcomer
  • *
  • Posts: 5
    • View Profile
doily knitter
« on: 12. November 2012, 23:47:09 »
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

  • Regular Member
  • Newcomer
  • *
  • Posts: 5
    • View Profile
Re: doily knitter
« Reply #1 on: 12. November 2012, 23:49:14 »
When I said "quadrilateral" I think I should have said "parallelogram".

fnoobler

  • Regular Member
  • Newcomer
  • *
  • Posts: 5
    • View Profile
Re: doily knitter
« Reply #2 on: 13. November 2012, 23:42:31 »
I've attached a color version.