|
 |
On 23/10/2025 12:36, Bald Eagle wrote:
>
> I love it.
Thanks
> And am envious because you beat me to doing it!
LOL
> I'm sure at this point that I have watched nearly every 3Blue1Brown video.
Yes, yes, there are tons of videos on this topic.
> Can I ask how many coefficients are needed to store that shape?
The shape is a simple array of <x,y> vectors.
On my site, the firest PI shape is defined with only 120 points.
On the second one, the shape has 320 points.
For shapes, I use an SVG image that contains the path.
I found this website that allows you to convert a path into points
<https://shinao.github.io/PathToPoints/>.
We provide the SVG file, set the interval between two points, and the
page generates the points ! It's magic for me.
The SVG format, and more specifically the object path, is easy to
read... but creating a converter with/for POV is really tricky.
Yet another new feature for v4 ? ;)
> I was pondering using that format to make a new type of interpolation spline,
> and as a method of storing shape outlines in a compact manner.
>
> I can't recall: Is there a 3D version?
I watched two videos in 3D :
<https://www.youtube.com/watch?v=GXyX2DSUGX8>
<https://www.youtube.com/watch?v=E5rVya8nuyk>
... but not really 3D.
> Excellent work! :)
> And I just HAVE to ask: Will you be sharing the code?
Sure. I still have some refinement work to do and need to clean up my
code to make it presentable. I will publish everything on my website
with explanations.
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |