GithubHelp home page GithubHelp logo

tgraphfractalvisualization's Introduction

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.

tgraphfractalvisualization's People

Contributors

bondoki avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tgraphfractalvisualization's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.