/collatz-conjecture

Visualizing the collatz conjecture using python and gephi

Primary LanguageJupyter Notebook

collatz-conjecture

Visualizing the collatz conjecture using python , graphviz , treelib and opencv .

Rough process

  1. Build logic to get function tuples for conjecture
  2. Loop through , get edge list
  3. Convert edge list to tree using treelib
  4. Output as gv file
  5. Modify gv files for custom CSS like values
  6. Run graphviz to generate tree graph for gv file
  7. Invert gv output images cuz looks cooler
  8. Stitch images into video