Author Topic: STARS! Code and project. Byproducts: Fractals!  (Read 1441 times)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
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
« Last Edit: 2015-Aug-09 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4042
    • View Profile
    • Portfolio
Looks super, and such a short code! Congrats! :booze:

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
IKR, glad for the power of trig.
The help is longer than the code, the way i like it ;)
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Yeah well done, nice effect and good coding, thats how to use POLYVECTOR.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline sf-in-sf

  • Mr. Drawsprite
  • **
  • Posts: 92
  • Artist F.P. Brixey
    • View Profile
    • My computed art project
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?
« Last Edit: 2015-Oct-18 by sf-in-sf »
On the day the atom is a cube I will start believing in the square pixel.

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
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

Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/