GithubHelp home page GithubHelp logo

orbit's Introduction

Simulate Solar Orbit in Python

The repo includes three implementations of simulation.

  1. File solar_orbit_2d.py plot the 2d orbit with Matplotlib solar_2d
  2. File solar_orbit_3d_plt.py plot the 3d orbit with Matplotlib3d solar_3d
  3. File 'solar_orbit_3d_ipyvolume.py' plot 3d orbit with ipyvolume solar_3d_ipy
  4. File 'three_body.py' simulate a three body orbit three_body.py

orbit's People

Contributors

xhinker avatar

Stargazers

Jordi Bardales avatar George  Seletski avatar Aryan avatar Misha Miroshnikov avatar zuher_alashram avatar  avatar  avatar  avatar Keegan TP avatar Estevao Fonseca avatar  avatar  avatar  avatar Lin Hsu avatar _MadNess avatar Alexander Ukhov avatar Qi_yun avatar weiluo avatar Albert avatar TangQing avatar  avatar bigtiger.qian avatar bonetoy avatar Steven Dye avatar  avatar Pratik avatar Tatsuki Tsujimoto avatar Luke avatar Maxwell C Sissman avatar

Watchers

 avatar  avatar

orbit's Issues

The solar_orbit_3d_plt.py doesn't work in the matplotlib 3.7.1

Hello, Andrew!
Beautiful project, thank you!

When I run in the matplotlib 3.7.1, I get the following error:
data ready Traceback (most recent call last): File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\cbook\__init__.py", line 304, in process func(*args, **kwargs) File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\animation.py", line 904, in _start self._init_draw() File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\animation.py", line 1748, in _init_draw self._draw_frame(frame_data) File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\animation.py", line 1767, in _draw_frame self._drawn_artists = self._func(framedata, *self._args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\estev\Documents\python_projects\orbit\solar_orbit_3d_plt.py", line 190, in update point_s.set_data_3d(dataset_s[0][num],dataset_s[1][num],dataset_s[2][num]) File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\mpl_toolkits\mplot3d\art3d.py", line 246, in set_data_3d raise RuntimeError(f'{name} must be a sequence') RuntimeError: x must be a sequence

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.