/factor_trees

Integer factorization visualization with OpenGL/GLUT

Primary LanguageC++

A little experiment in visualization of the integer prime factorization, drawing numbers as "plants".

Every prime factor contributes to a junction in the "plant", the branches have "fruits" at the tips.

The total amount of fruits is thus equal to the number itself.

The big clusters (representing big primes) are layed out using Fermats Spiral.

Hacked together in C++, uses OpenGL/GLUT, tested on Linux and Windows.

screenshot