Message 1 of 12
Looking for help with drawing diamond patterns with lisp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am wanting to write a lisp to do diamond lite patterns and the first place to start (in my opinion) would be a formula to evenly size the diamonds no matter the opening. Trying to find the formula to divide space into equal lites, can't find anything on google etc... So the general idea here would be that Instead of just drawing the same pattern everytime, I would specify a number of individual lites, and it would draw them as in the picture. So what I'm really looking for is, if I am aiming for say 31 lites, How can I figure out how many points to draw the lines from? (see picture below)
Any help is appreciated, thanks!