POV-Ray : Newsgroups : povray.binaries.images : Area light idiosyncrasies : Re: Area light idiosyncrasies Server Time
7 Nov 2024 04:55:01 EST (-0500)
  Re: Area light idiosyncrasies  
From: Samuel B 
Date: 10 Oct 2016 12:50:00
Message: <web.57fbc68cdd05ae959adf830b0@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
>
> How do you evenly space points within a circle? Using a spiral? Or maybe
> a hexagonal/triangular grid? I'm not sure it's possible.
>
>
http://stackoverflow.com/questions/33510979/generator-of-evenly-spaced-points-in-a-circle-in-python
>
> Mike

Vogel's model of the Fermat spiral is very useful:
https://en.wikipedia.org/wiki/Fermat%27s_spiral

One of its greatest advantages is that you can choose an arbitrary number of
points.

There's also a version that covers a sphere. I'm still wondering how to /fill/ a
sphere using similar math, but I've failed at every attempt thus far and haven't
yet seen anyone anywhere manage to do it (yes, that's a challenge to everyone
because I'd really like to see it!).

Sam


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.