{"id":26643669,"url":"https://github.com/X0RBYT3/pendfetch","last_synced_at":"2025-03-24T20:20:06.086Z","repository":{"id":40673863,"uuid":"390868230","full_name":"X0RBYT3/pendfetch","owner":"X0RBYT3","description":"Double Pendulum visualised with fetching system information in Python. ","archived":false,"fork":false,"pushed_at":"2023-01-16T15:12:12.000Z","size":88,"stargazers_count":67,"open_issues_count":7,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T13:04:59.048Z","etag":null,"topics":["ascii","command-line","commandline","commandline-interface","engineering","maths","python","python-3","python3","rice","ricing","shell","system-information","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/X0RBYT3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-29T22:49:08.000Z","updated_at":"2024-12-09T02:02:48.000Z","dependencies_parsed_at":"2023-02-10T04:10:16.841Z","dependency_job_id":null,"html_url":"https://github.com/X0RBYT3/pendfetch","commit_stats":null,"previous_names":["nekurone/double-pendulum-ascii"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0RBYT3%2Fpendfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0RBYT3%2Fpendfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0RBYT3%2Fpendfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X0RBYT3%2Fpendfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/X0RBYT3","download_url":"https://codeload.github.com/X0RBYT3/pendfetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999226,"owners_count":20544866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii","command-line","commandline","commandline-interface","engineering","maths","python","python-3","python3","rice","ricing","shell","system-information","terminal-based"],"created_at":"2025-03-24T20:20:05.063Z","updated_at":"2025-03-24T20:20:06.082Z","avatar_url":"https://github.com/X0RBYT3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/11583852/128283452-314f3aca-d095-4d2b-9cf9-4e7afaf8c404.png\" alt=\"Header image: Pendfetch\"\u003e\u003c/img\u003e\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eShow off your terminal, in style.\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://forthebadge.com\" target=\"_blank\"\u003e\u003cimg src=\"https://forthebadge.com/images/badges/built-with-love.svg\" alt=\"Build with \u003c3\" height=\"35\"/\u003e\u003c/a\u003e\u0026nbsp;\u003ca href=\"https://forthebadge.com\" target=\"_blank\"\u003e\u003cimg src=\"https://forthebadge.com/images/badges/made-with-python.svg\" alt=\"Made with python\" height=\"35\" /\u003e\u003c/a\u003e\u0026nbsp;\u003ca href=\"https://forthebadge.com\" target=\"_blank\"\u003e\u003cimg src=\"https://forthebadge.com/images/badges/powered-by-coffee.svg\" height=\"35\"/\u003e\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca\n  href=\"https://github.com/psf/black\"\n   target=\"_blank\"\u003e\n      \u003cimg \n        src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" \n        alt=\"Code style: black\" height=\"20\" /\u003e\n  \u003c/a\u003e\u0026nbsp;\n  \u003ca \n    href=\"https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fpypi.org%2Fproject%2Fdouble-pendulum%2F\"\u003e\u003cimg alt=\"Twitter\" src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fpypi.org%2Fproject%2Fdouble-pendulum%2F1.0.12%2F\" height=\"20\"\u003e\u003c/a\u003e\n\u003ca href=\"http://makeapullrequest.com\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-bcentergreen.svg?style=shields\" height=\"20\"/\u003e\u0026nbsp;\n\u003ca href=\"https://badge.fury.io/py/double-pendulum\"\u003e\u003cimg src=\"https://badge.fury.io/py/double-pendulum.svg\" alt=\"PyPI version\" height=\"20\"\u003e\u003c/a\u003e\n\n\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eA 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. \n  If you spot any bugs or features that need adding (especially with the specs), just open an issue :)\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003c!--\u003ch2\u003eDemo\u003c/h2\u003e\u0026nbsp;--\u003e\n  \u003cimg src=\"https://i.imgur.com/37vz3rc.gif\", alt=\"Demo Gif\"\u003e\u003c/p\u003e\n\n    \n\n## Features\n- As mentioned, able to simulate multiple pendulums at once.\n- Able to specify the weight and mass of pendulums to create different butterfly effects.\n- Uses equations from [here.](https://www.myphysicslab.com/pendulum/double-pendulum-en.html)\n- If -s is used, it grabs system specs and displays them.(hi r/unixporn)\n- Obviously a lot could be done to it (see below the Args), Any contributions are appreciated)\n## Quickstart:\n__Dependencies:__ Python 3.2+,curses (standard on UNIX) or relevent windows port, psutils if you want to use -s\n\n### Github\n- Clone using `https://github.com/Nekurone/pendfetch.git` or download the zip.\n- Extract if necessary and head inside the folder.\n- ```python3 pendulum.py [args]```\n\n### Pip\n- `python3 -m pip install pendfetch` (or `pip install pendfetch`)\n- `pendfetch [args]`\n\n#### Don't forget to include `-s` for neofetch feature :) \n## **__Args__**\n\nVisuals\n- [help (-h)](#help)\n- [trace (-t)](#trace)\n- [tracedrop (-tD)](#tracedrop)\n- [specs (-s)](#specs)\n\nMaths and Pendulum settings\n- [pendulum (-p)](#pendulum)\n- [speed (-sP)](#speed)\n- [gravity (-g)](#gravity)\n- [mass (-m)](#mass)\n- [length (-l)](#length)\n\nWindow settings\n- [HEIGHT (-H)](#height)\n- [WIDTH (-W)](#width)\n- [dHEIGHT (-dH)](#dheight)\n- [dWIDTH (-dW)](#dwidth)\n\n\u003ch1 align=\"center\"\u003e Visuals \u003c/h1\u003e\n\u003ch2 align=\"center\"\u003e--help (-h)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003eSpits out a fairly standard argparse help message. Note this is printed out when the program is run anyway. \u003cimg src=\"https://i.imgur.com/bIgrjqa.png\"\u003e\u003c/img\u003e\u003c/h5\u003e\n\n\u003ch5 align=\"center\"\u003e\n type: None, default: None\n setting in example: -h \n \u003c/h5\u003e\n \n \n \u003ch2 align=\"center\"\u003e--trace (-t)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Enables 'tracing', a faint line behind the pendulums that fades. \u003cimg src=\"https://i.imgur.com/UCp4pGL.gif\"\u003e\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003etype: bool, default: off,\n setting in example: -t\n \u003c/h5\u003e\n \n\n \n \u003ch2 align=\"center\"\u003e--traceDrop (-tD)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Controls the rate at which the trace from -t fades. Higher is faster fading. \u003cimg src=\"https://i.imgur.com/MGsazE3.gif\"\u003e\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003etype: float, default: 1.0,\n setting in example: -t -tD 0.5\n \u003c/h5\u003e\n \n \n \u003ch2 align=\"center\"\u003e--specs (-t)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Enables showing system info, note this feature is still a WIP, any bugs or issues just let me know. \u003cimg src=\"https://i.imgur.com/bPEBhst.png\"\u003e\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003e\n type: bool, default: off,\n setting in example: -s\n \u003c/h5\u003e\n \n \u003ch1 align=\"center\"\u003e Maths and Pendulum Settings \u003c/h1\u003e\n \n   \u003ch2 align=\"center\"\u003e--pendulum (-p)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Number of pendulums to simulate at once. Combine with the gravity settings and some speed settings for some really pretty visuals. \u003cimg src=\"https://i.imgur.com/hAcvr2T.gif\"\u003e\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003e\n type: int, default: 1,\n setting in example: -p 300 \n \u003c/h5\u003e\n \n \u003ch2 align=\"center\"\u003e--speed (-sP)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Multiplier for speed of simulation. Around 0.5-1.5 is a good range \u003cimg src=\"https://i.imgur.com/Yl9BiRP.gif\"\u003e\n\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003e\n type: float, default: 1.0,\n setting in example: -sP 3.0\n \u003c/h5\u003e\n \n \u003ch2 align=\"center\"\u003e--gravity(-g)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Controls the strength of gravity, note, this directly affects the speed of the simulation. So slowing down is recommended.\u003cimg src=\"https://i.imgur.com/zi5yh8V.gif\"\u003e\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003e\n type: float, default: 9.81,\n setting in example: -g 1\n \u003c/h5\u003e\n \n  \u003ch2 align=\"center\"\u003e--mass (-m)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Controls the mass of the pendulums, useful mostly for butterfly effects \u003cimg src=\"https://i.imgur.com/1d9BSK0.gif\"\u003e\n\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003e\n type: float, default: 100.0,\n setting in example: -m 300 -sP 0.2\n \u003c/h5\u003e\n \n  \u003ch2 align=\"center\"\u003e--length (-l)\u003c/h2\u003e\n\u003ch5 align=\"center\"\u003e Controls the length of the arms of the pendulums, useful mostly for butterfly effects \u003cimg src=\"https://i.imgur.com/zSXYn3K.gif\"\u003e\n\u003c/img\u003e\u003c/h5\u003e\n\u003ch5 align=\"center\"\u003etype: float, default: 250.0, setting in example: -l 150 -sP 0.3\n \u003c/h5\u003e\n\n\u003ch1 align=\"center\"\u003etodo: Window settings\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eIf you have any suggestions, or anything you'd like to add (or, more likely you found a bug) just open a PR :)\u003c/h3\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FX0RBYT3%2Fpendfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FX0RBYT3%2Fpendfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FX0RBYT3%2Fpendfetch/lists"}