Giter Club home page Giter Club logo

gravity_basin_fractal's Introduction

Generate Basin Boundary Fractals with Orbits

This project focuses on the generation of basin boundary fractals using specific orbital data. It includes tools for creating detailed plots and videos to visualize these fractals.

Project Structure

  • code/

    • example_figure_eight.ipynb: Notebook for generating fractal data based on the figure-eight orbit.
    • example_generate_plots.ipynb: Notebook for creating plots and compiling them into a video after data generation.
    • plot_utils.py: Utility functions dedicated to plotting.
    • utils.py: Utility functions for orbit integration and fractal generation.
  • data/

    • periodic_3b_inits.json: JSON file containing initial conditions for some periodic three-body orbits.

Requirements

This project uses the following Python packages:

  • numpy: For numerical operations.
  • numba: To accelerate Python functions.
  • matplotlib: For creating plots and visualizations.

Getting Started

  1. Clone the repository to your local machine.
  2. Install the required packages using pip install numpy numba matplotlib.
  3. Navigate to the code/ directory.
  4. Run example_figure_eight.ipynb to generate the fractal data.
  5. Execute example_generate_plots.ipynb to create plots and a video from the generated data.

Contributing

Contributions to the project are welcome, specially regarding efficiency of the code. If you have suggestions or improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

gravity_basin_fractal's People

Contributors

pererossello avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

muharremokutan

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.