Drawing Celtic Knotwork 8
Okay, so that's about it. We've gone from an idea to a program that creates png formatted images of Celtic-style knotwork panels. Not bad at all. There are a lot of other things we could do with this program, though. Here are a few ideas:
- Come up with some good ideas for unit testing the image generation code. Then send them to me :-)
- Antialias the lines for a smoother effect.
- Add color.
- Incorporate the rest of the patterns detailed in the Andy Sloss book.
- Add the ability to make complex panels.
- Add the ability to scale pattern panels to any size.
- Make Me From The Future happy by fine-tuning the KnotworkPanel initializer and/or the OptParse options so that the user gets a 3x3 panel when they request a 3x3 panel. Oh, but what happens when the user requests a 1x1 panel? I guess you'll have to figure that out.
- Done already? Andy Sloss also wrote a book using similar techniques for drawing key patterns. Go write that program, and merge it with this one for a lean, mean, Celtic-art producing machine.
