A 2D physics sim for orbits. Made using pygame and tkinter. High degree of intractability, allowing you to create celestial bodies of a custom mass and velocity within the simulation, select what specifically is displayed, and move the camera.

Overview

Python-Orbit-Sim

A 2D physics sim for orbits. Made using pygame and tkinter. High degree of intractability, allowing you to create celestial bodies of a custom mass and velocity within the simulation, select what specifically is displayed, and move the camera.

To run

You need to have Python 3, Tkinter, and Pygame installed. Run Gravity.py to start.

Controls

You might also like...
Inflitator is a classic doom and wolfenstein3D like game made in Python, using the famous PYGAME module.
Inflitator is a classic doom and wolfenstein3D like game made in Python, using the famous PYGAME module.

INFLITATOR Raycaster INFLITATOR is a raycaster made in Python3 with Pygame. It is a game built on top of a simple engine of the same name. An example

This is a simple game made using pygame.

Ball breaker This is a simple game made using pygame game view The game view have been updated wait for the new view to be uploaded Game_show.mp4 Lear

Small game I made in 2019 using python/pygame.
Small game I made in 2019 using python/pygame.

Kill-The-Blokk // Shoot or Die This is a small game I made in gr.10 (2019) for my high school computer science class; the game was coded in python usi

N-Queens game made using pygame library
N-Queens game made using pygame library

N-Queens N-Queens game using pygame for AIML201 Testing: 1. git clone https://github.com/python-game-dev/N-Queens.git 2. cd N-Queens 3. python main.py

A didactic GUI chess game made in Python3 using pygame.
A didactic GUI chess game made in Python3 using pygame.

Chess A didactic GUI chess game made in Python3 using pygame. At the moment, there is no AI. The only way you can test the game is by playing against

A Tetris game made using PyGame as renderer only, for a school project.
A Tetris game made using PyGame as renderer only, for a school project.

Tetris_Python A Tetris game made using PyGame as renderer only, for a school project. Twist in the Game Blocks can pentrate through right and left bou

A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.

Pygame Widgets A helper module for common widgets that may be required in developing applications with Pygame. It supports fully customisable buttons,

Flappy Bird clone utilizing facial recognition to move the

Flappy Face Flappy Bird clone utilizing facial recognition to move the "bird" How it works Flappy Face uses Facial Recognition to detect your face's p

Quiz game made entirely with python and pygame for school work
Quiz game made entirely with python and pygame for school work

Tabela de conteúdo Descrição Como instalar Linguagens usadas Contribuidores Créditos Problemas com o jogo? Contate-nos Descrição Quiz feito inteiramen

Comments
  • libc++abi errs nuking the whole program.

    libc++abi errs nuking the whole program.

    This is weird, look at what my terminal spewed me: pygame 2.1.2 (SDL 2.0.18, Python 3.10.5) Hello from the pygame community. https://www.pygame.org/contribute.html 2022-11-26 07:41:23.878 Python[21252:584118] -[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x122e6bd20 2022-11-26 07:41:23.880 Python[21252:584118] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x122e6bd20' *** First throw call stack: ( 0 CoreFoundation 0x000000018d4b01cc __exceptionPreprocess + 240 1 libobjc.A.dylib 0x000000018d2017b8 objc_exception_throw + 60 2 CoreFoundation 0x000000018d5431a0 -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x000000018d410360 forwarding + 1728 4 CoreFoundation 0x000000018d40fbe0 _CF_forwarding_prep_0 + 96 5 libtk8.6.dylib 0x0000000120388a1c GetRGBA + 64 6 libtk8.6.dylib 0x00000001203884a8 SetCGColorComponents + 140 7 libtk8.6.dylib 0x00000001203888e0 TkpGetColor + 544 8 libtk8.6.dylib 0x00000001202ea454 Tk_GetColor + 220 9 libtk8.6.dylib 0x00000001202ddaa0 Tk_Get3DBorder + 204 10 libtk8.6.dylib 0x00000001202dd8ac Tk_Alloc3DBorderFromObj + 144 11 libtk8.6.dylib 0x00000001202eb810 DoObjConfig + 832 12 libtk8.6.dylib 0x00000001202eb3cc Tk_InitOptions + 348 13 libtk8.6.dylib 0x00000001202eb2c8 Tk_InitOptions + 88 14 libtk8.6.dylib 0x0000000120312cf0 CreateFrame + 1448 15 libtk8.6.dylib 0x0000000120312fe8 TkListCreateFrame + 156 16 libtk8.6.dylib 0x000000012030bec0 Initialize + 1848 17 _tkinter.cpython-310-darwin.so 0x0000000106fa22d4 Tcl_AppInit + 92 18 _tkinter.cpython-310-darwin.so 0x0000000106fa1f6c Tkapp_New + 548 19 _tkinter.cpython-310-darwin.so 0x0000000106fa1d44 _tkinter_create_impl + 268 20 _tkinter.cpython-310-darwin.so 0x0000000106fa197c _tkinter_create + 240 21 Python 0x0000000105205978 cfunction_vectorcall_FASTCALL + 88 22 Python 0x00000001052d43c8 call_function + 132 23 Python 0x00000001052cc70c _PyEval_EvalFrameDefault + 23764 24 Python 0x00000001052c51b4 _PyEval_Vector + 360 25 Python 0x000000010519e210 _PyObject_FastCallDictTstate + 96 26 Python 0x00000001052324c8 slot_tp_init + 196 27 Python 0x00000001052292c8 type_call + 312 28 Python 0x000000010519df58 _PyObject_MakeTpCall + 136 29 Python 0x00000001052d44c0 call_function + 380 30 Python 0x00000001052cae08 _PyEval_EvalFrameDefault + 17360 31 Python 0x00000001052c51b4 _PyEval_Vector + 360 32 Python 0x000000010532f9f0 pyrun_file + 308 33 Python 0x000000010532f134 _PyRun_SimpleFileObject + 336 34 Python 0x000000010532e780 _PyRun_AnyFileObject + 216 35 Python 0x000000010535a9bc pymain_run_file_obj + 180 36 Python 0x000000010535a05c pymain_run_file + 72 37 Python 0x0000000105359644 pymain_run_python + 300 38 Python 0x00000001053594d8 Py_RunMain + 24 39 Python 0x000000010535ab64 pymain_main + 56 40 Python 0x000000010535ae28 Py_BytesMain + 40 41 dyld 0x00000001046250f4 start + 520 ) libc++abi: terminating with uncaught exception of type NSException

    opened by 0xTheSmartGuy 0
  • Bottlenecks

    Bottlenecks

    Based on personal testing on a ryzen 7 5800x, this program is extremely bottlenecked at the beginning in single threaded performance. Perhaps it would be possible to multithread it?

    opened by BCurbs 1
Owner
null
Brax is a differentiable physics engine that simulates environments made up of rigid bodies, joints, and actuators

Brax is a differentiable physics engine that simulates environments made up of rigid bodies, joints, and actuators. It's also a suite of learning algorithms to train agents to operate in these environments (PPO, SAC, evolutionary strategy, and direct trajectory optimization are implemented).

Google 1.5k Dec 31, 2022
Made to help you create UI using pygame in python, gonna add way more to this project

Pygame visualizer Made to help you create UI using pygame in python, gonna add way more to this project. As of now, this is only hours worth of work.

Ayza 2 Feb 8, 2022
made a life sim game because i was tired of a astray gamedev company, everything here is open-source

Srel made a life sim game because i was tired of a astray gamedev company, everything here is open-source Progress Currently making the cmd-line versi

null 2 Nov 14, 2021
Tictactoe py tkinter canvas - Tic Tac Toe written in Python 3 with tkinter mainly using canvas

Python 3 Tic Tac Toe with tkinter This is a tkinter version of my Tic Tac Toe ga

Bojan Adzic 1 Jan 9, 2022
Pendulum Simulation using Pygame

Pendulum project, built using pygame and math modules.

null 3 Nov 9, 2021
PyGame-Tutorial - Refrence for building games in pygame

PyGame-Tutorial How to build games using the python library PyGame End result Ho

St. Mark's Computer Science Club 2 Jan 9, 2022
A chess engine with basic AI capabilities (search for best move using MinMax algorithm)

A chess engine with basic AI capabilities (search for best move using MinMax algorithm)

Ken Wu 1 Feb 2, 2022
Average Clicker Game (AVG) is a Python made game using tkinter

Average-Clicker-Game Average Clicker Game (AVG) is a Python clicker game not made with pygame but with tkinter, it has worker, worker upgrades, times

Zacky2613 1 Dec 21, 2021
This is a 2D Link to the Past-esque game made using Python 3.2.5 and pygame 1.9.2

Queen-s-Demise Queen's Demise This is a 2D Link to the Past-esque game made using Python 3.2.5 and pygame 1.9.2 I made this for a game development cla

Zoey 1 Dec 15, 2021
Made with pygame. Multiplayer game using socket module and threading.

Rock Paper Scissor made with python-pygame. Poorly made, as a beginner in programming. Multiplayer with server code and client code provided.

AllenJo 1 Dec 29, 2021