POV-Ray : Newsgroups : povray.general : modular arithmetic animation Server Time
6 Jan 2025 18:46:51 EST (-0500)
  modular arithmetic animation (Message 1 to 3 of 3)  
From: B  Gimeno
Subject: modular arithmetic animation
Date: 25 Dec 2024 16:55:00
Message: <web.676c7e578ecd8a68c4ffefb38484ae3a@news.povray.org>
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

From: kurtz le pirate
Subject: Re: modular arithmetic animation
Date: 26 Dec 2024 05:17:26
Message: <676d2d36$1@news.povray.org>
On 25/12/2024 22:51, B. Gimeno wrote:
> 
> 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
> 

Ho yes, the multiplication tables...
<http://louisbel.free.fr/galerie/gal14.shtml>

;)



-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

From: B  Gimeno
Subject: Re: modular arithmetic animation
Date: 26 Dec 2024 15:30:00
Message: <web.676dbbe77dc19f1ec4ffefb38484ae3a@news.povray.org>
kurtz le pirate <kur### [at] freefr> wrote:

>
> Ho yes, the multiplication tables...
> <http://louisbel.free.fr/galerie/gal14.shtml>
>

that's it!! thank you very much!!
> --
> kurtz le pirate
> compagnie de la banquise


Post a reply to this message

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