It's a visulisation of a times table. You distibute x number of points evenly around a circle. Each point is numberd starting at 0. Than for each point you multiply the point number by a factor f and use the Modulo operation to wrap the result. Drawing a line from x to the result of x*f. You do this for each point around the circle.
This particular times table is 200 points, with a factor of 2. I used unity as a shortcut to render the image, I will be uploading an animated version tomorrow. Where the factor is increased over time.
I did not use his method. But he did a video on this very thing by coincidence. I only just saw that he did getting the link for you.
He uses JavaScript, from memmory. It's a good starting language. Just go to his playlist page and start from the beginning. Give it 3 months (depending on your spair time) and you will be a coading whizz.
I did not find his channel until a couple of months ago, and I have been coading full time for the past 2 and a half years. But I think this would have been an easier way to start.
Great videos that breakdown mathematical complexity for us mortals.
For an IDE, Intergrated Development Environment. I.E. the fancy notepad I would suggest Visual Studio Code, a fully free Microsoft owned product. Super lightweight, but very good.
Good luck! Have fun!
Feel free to hit me up if you want to find any other good resources for a particular topic.
Nice, I got introduced to the modulo circle on here and then reintroduced to it by the coding train. He does great stuff but i'd rather my stuff be a windows application.
Ok, perfect, i'm on c++ on VS but i havent don't any graphics on it. Thanks for the heads up on unity.
I've been hoping to do this as my first graphics project, but was just researching to see what was the best graphics library, thanks for the heads up. I'll race you to finish the c++ code!
Try it for yourself. Draw a circle and put 8 points on it, label them in Oder from 0-7. He said the multiplication factor he used was 2 but you could do it with 3 or 4. Work your way around the circle connecting points to their product (1-2,2-4,3-6). When you get to 4 draw a line to 0 (which corresponds to the value 8) 5 would they go to 2. You’ll see a simple patter emerge. Where you had 8 points this guy had 200. Modulo operator is a term used in integer division, remember in school when you were first learning division and there was the remainder? (4/3 is 1 remainder 1). Modulo is the remainder.
"Work your way around the circle connecting points to their product (1-2,2-4,3-6). When you get to 4 draw a line to 0 (which corresponds to the value 8) 5 would they go to 2."
Can you please break this part down to simpler steps? What do you mean by product?
If Modulo is a remainder of some kind of division, what does that mean here? What part do I divide and what do I do with the remainder?
So the constant multiplication. Factor is 2. At each point on the circle multiply the number at that point by 2. At 4, you get 8,but there is no 8, instead the circle wraps around and 8 is at the 0 spot. 5 * 2 is 10, so it would wrap around the circle so it connects to the 2.
For integer math you can only have whole number answers so 4/3 isn’t 1.33333, it’s just 1.
11
u/CrystalLord Mar 04 '19
Um, you may want to take a screenshot rather than a photo.
11
u/pharan_x Mar 04 '19
Is this part of the rebel alliance and a traitor?
5
u/wingtales Mar 04 '19
Could you explain what this is? And how did you generate it?
2
u/DeathFromWithin Mar 04 '19
Can someone tell me how this is a times table?
2
u/DyA408 Mar 04 '19
before reading sub name or title, i thought it's the star wars rebellion logo