Liberty BASIC Community Forum
Special Topics and Projects >> Game and Graphic Programming >> Wood Anemones- graphic playtime...
http://libertybasic.conforums.com/index.cgi?board=game&action=display&num=1461609251

Wood Anemones- graphic playtime...
Post by tenochtitlanuk on Apr 25th, 2016, 1:34pm

Spring in the Northern Hemisphere is a lovely time.
I just happened to notice, for the first time in 70 years, that wood anemones don't always have the same number of petals- usually 6 or 7, but sometimes 5 or 8. I'm a bit obsessive/compulsive at times....

User Image

I thought it'd be fun to make some programmatic flowers.
I started by writing a routine to draw ellipses, fill them and display them rotated and centred wherever I wished. This is easier than using the turtle 'ellipse' option, and I had no great need for speed. At this point I got a bit carried away, and lots of nice patterns resulted.

User Image

Now I got back on track and created the petal arrangement.

User Image

Lots more things to play with- spiralling petals of increasing size for instance.

LB makes this kind of flight-of-fancy very easy.
Will put code up on my site soon...

Re: Wood Anemonies- graphic playtime...
Post by Alyce Watson on Apr 25th, 2016, 3:04pm

Math==art

smiley
Re: Wood Anemones- graphic playtime...
Post by tenochtitlanuk on Apr 26th, 2016, 2:21pm

Thanks Alyce! Particularly liked this one......

User Image
Re: Wood Anemones- graphic playtime...
Post by tenochtitlanuk on Jun 7th, 2016, 4:28pm

Still playing with effects of such easy drawing of filled shapes..
User Imagef