Inspiration
Our inspiration came from the prompt. The Collatz conjecture is not technically 'random,' but it can lead to some interesting and very unexpected graphs when a user gets creative with input values.
What it does
- It takes a sequence of starting numbers to enter into the Collatz conjecture algorithm.
- Computes the algorithm on each value in the sequence which is: given a number n, if n is even, then n = n/2, else if if n is odd then n = 3*n + 1.
- Depending on if n is even or odd, we will also rotate the values across the x, y, and z axes a certain amount and draw a line in 3d space to represent the result of whether n is odd or even.
- This operation is done on all values of the sequence.
- The output ends up being a 'tree' shaped 3d object, which varies greatly depending on the initial input values.
How we built it
- Languge: Python
- OpenGL, Pygame for 3D representation.
- Tkinter for UI and UX
Challenges we ran into
- Learning OpenGL since none of us know it.
- Handling git issues.
Accomplishments that we're proud of
- So far, we are glad that we got over the initial hurdles but still have a lot to do.
What we learned
- We learned how the Collatz conjecture behaves roughly and about basic 3D rendering of an interesting algorithm.
What's next for Cool Catz Collatz by Water
- Clean everything up
Log in or sign up for Devpost to join the conversation.