A nice relaxing double pendulum simulation using ASCII, able to simulate multiple pendulums at once, and provide tracing of pendulums as well as providing some system information. If you spot any bugs or features that need adding (especially with the specs), just open an issue :)
Features
As mentioned, able to simulate multiple pendulums at once.
Able to specify the weight and mass of pendulums to create different butterfly effects.
I use i3wm, and it seems that theres only a DE function, which returns Generic
Mabye change the line to WM/DE: or make a seperate line stating the wm currently running
in pendulum.py we have
stdscr.addstr(i+3,(len(x)+1),': {0}'.format(sys_specs[x].title())) on line 330,
this has proved unpopular and will be changed to
stdscr.addstr(i+3,(len(x)+1),': {0}'.format(sys_specs[x]))
When i was observing your code, i saw a function get_user(),
and it seems its not being used anywhere in the code, thus not showing the {username}@{hostname} line
Speaks for itself, variables are mostly 1 letter temp variables right now and all over the show. Implementing them with actual, readable names would improve readability.
Improving readability is a big part of this project, as ideally I'd like it to become a reference for some of the more jank solutions when working with curses, moving the draw functions out of pendulum.py would improve that
🦠 A simple and fast ( 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
WriteAIr is a website which allows users to stream their writing. It uses HSV masking to detect a pen which the user writes with. Plus, users can select a wide range of options through hand gestures!
The YouTube channel associated with this code walks you through the entire process of learning to code in Python; all the way from basics to advanced machine learning and deep learning.
solsim is the Solana complex systems simulator. It simulates behavior of dynamical systems—DeFi protocols, DAO governance, cryptocurrencies, and more—built on the Solana blockchain