GLBasic forum

Codesnippets => 2D-snippets => Topic started by: Hemlos on 2015-Aug-09

Title: STARS! Code and project. Byproducts: Fractals!
Post by: Hemlos on 2015-Aug-09
You can design stars with any specs...fully customizable, inner and outer radius, and number of points.
Skinable too!
This is an AWESOME project, and has alot more potential, as i only made it today.
So far...the stars are perfect from what i can tell.....skys the limit!
Personally...im going to use these stars in my next game for various effect, enjoy!

ps. SF did some stars too, pixel style though, not polyvectors like these.
however sf's are pretty, and they are good for making artsy images.

pps. project is attached to this message below screeny
Title: Re: STARS! Code and project. Byproducts: Fractals!
Post by: erico on 2015-Aug-10
Looks super, and such a short code! Congrats! :booze:
Title: Re: STARS! Code and project. Byproducts: Fractals!
Post by: Hemlos on 2015-Aug-10
IKR, glad for the power of trig.
The help is longer than the code, the way i like it ;)
Title: Re: STARS! Code and project. Byproducts: Fractals!
Post by: kanonet on 2015-Aug-11
Yeah well done, nice effect and good coding, thats how to use POLYVECTOR.
Title: Re: STARS! Code and project. Byproducts: Fractals!
Post by: sf-in-sf on 2015-Oct-18
I remember, http://www.glbasic.com/forum/index.php?topic=9195.msg78678#msg78678  It was probably before I ever used Polyvector.
Are you sure what you get on the right is fractal? Isn't it a simple moire effect?
Title: Re: STARS! Code and project. Byproducts: Fractals!
Post by: Hemlos on 2015-Oct-25
i dont know tbh....i ran the code and it made really cool artsy stars stuff.

you might be right, but if you put the number of points in a loop recreating each pass, it looks like a moving fractal