Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bondoki/TGraphFractalVisualization

Open more actions menu

Repository files navigation

T-Graph Fractal Visualization

Rendering of the T-Graph fractal aka Tree fractal aka T-fractal with functionality f=3, for different generations G, see the paper by S. Havlin and H. Weissman, "Mapping between hopping on hierarchical structures and diffusion on a family of fractals", J. Phys. A: Math. Gen. (1986), 19, L1021-L1026. This fractal has the fractal dimension of df=ln(f=3)/ln(2)=1.5849625 with a total number of nodes N=f^G+1.

TGraphFractal

Installation

Just do for standard compilation (tested with gcc 8.2.1):

    # generates the application
    g++ -o TGraphFractalVisualization TGraphFractalVisualization.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17

Usage

Simply use the mouse to move, zoom, and pan. Use the arrow keys: ⬆ : next generation ⬇ : previous generation ⬅ : rotate angle by -5° ➡ : rotate angle by +5° R : reset view to angle = 0° ESC : quit

References and License

The program acknowledge the libraries and refer to the appropriate licenses

Acknowledgment

Inspired by the Pan&Zoom example of Javidx9 gave the idea for this.

About

Visualization of TFractal/TGraph/TreeFractal

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.