|
|
Hello, first of all, I would like to congratulate everyone on the arrival of the
coming year, my best wishes and at least I hope you are in good health.
It's been years since I was curious enough to use pov-ray, but recently
something happened. I came across a video from the Numberphile Channel on
YouTube where the doctor of mathematics James Grime shows us his method to find
out when a number is divisible by 7.
https://youtu.be/Ki-M1DJIZsk?si=IucytG0UMg6X9iKD
Apart from being a curious method, it made me wonder what that circle (used in
modular arithmetic) would look like for any other number, to see what kind of
patterns could emerge. Doing it manually on paper for small numbers motivated me
to sit down one afternoon in front of the computer and find out with pov-ray
that simple method to do it with any number n. (You never know when you'll need
to know if a number is divisible by 1973).
I've uploaded three tests at different frame rates with audio provided by
youtube.
https://youtu.be/bKIqIj9Hwg0 - 20fps 1:31
https://youtu.be/ffdxRK0nP_4 - 25fps 1:12
https://youtu.be/FIiVqwm-8es - 30fps 1:01
In a few days I'll publish the code with a few modifications.
Regards.
B. Gimeno
Post a reply to this message
|
|