The Prime Spiral

Which was inspired by The Ulam Spiral, and introduced to me by The Coding Train youtube channel.

By taking a glance at the youtube video, I thought of creating the same program in Unity.

Here's the video for reference.

The creator of the video used p5.js, the powerful javascript framework for developing games and other things right to the webpage.

Undoubtedly,  p5.js is faster and stronger when compared to the Unity WebGL build, but I wanted to use the aspects of Unity and create a program to visualize the same.

I have also given the user some choice to change the parameters of the program to make it more interesting.


Have a look, and your feedback is greatly appreciated.

Thank You.

Leave a comment

Log in with itch.io to leave a comment.