{"id":21861776,"url":"https://github.com/mcjkula/time-dilation-calculator","last_synced_at":"2026-02-27T16:11:10.016Z","repository":{"id":203627356,"uuid":"538249934","full_name":"mcjkula/time-dilation-calculator","owner":"mcjkula","description":"A calculator for computing the lorentz-factor and time dilation of objects moving near the speed of light written in Python using Flet.","archived":false,"fork":false,"pushed_at":"2024-08-13T16:16:33.000Z","size":5574,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-16T00:27:45.535Z","etag":null,"topics":["calculator","physics","time-dilation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcjkula.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-18T21:48:34.000Z","updated_at":"2024-08-13T16:16:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"9acd2539-3401-4bf8-8410-fcf6815fd2bd","html_url":"https://github.com/mcjkula/time-dilation-calculator","commit_stats":null,"previous_names":["mcjkula/python-time-dilation","mcjkula/time-dilation-calculator"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mcjkula/time-dilation-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcjkula%2Ftime-dilation-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcjkula%2Ftime-dilation-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcjkula%2Ftime-dilation-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcjkula%2Ftime-dilation-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcjkula","download_url":"https://codeload.github.com/mcjkula/time-dilation-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcjkula%2Ftime-dilation-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29903618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T14:46:13.553Z","status":"ssl_error","status_checked_at":"2026-02-27T14:46:10.522Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["calculator","physics","time-dilation"],"created_at":"2024-11-28T03:12:37.838Z","updated_at":"2026-02-27T16:11:09.997Z","avatar_url":"https://github.com/mcjkula.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cloud.mcjkula.com/index.php/apps/files_sharing/publicpreview/kcsyNFswBZAGCe6?file=/\u0026fileId=87204\u0026x=3600\u0026y=2338\u0026a=true\" alt=\"Time Dilation Calculator\" width=\"auto\" height=\"auto\"\u003e\n\u003c/p\u003e\n\n# Time Dilation Calculator\n\nThis repository contains a Time Dilation Calculator built with `Flet`. It allows users to input a velocity and calculate the lorentz-factor and dilated time based on the given proper time.\n\n## Technologies Used\n\n- Framework: [flet](https://github.com/flet-dev/flet) (Flet enables developers to easily build realtime web, mobile and desktop apps in Python).\n\n## Features\n\n### Lorentz Factor Calculation\n- Users can input the velocity of an object and the speed of light to calculate the lorentz-factor.\n- Supports various units of velocity including km/s, % of c, m/s, and km/h.\n\n### Time Dilation Calculation\n- Calculates the dilated time based on the given proper time and the calculated lorentz-factor.\n- Displays the lorentz-factor and dilated time.\n\n### Lorentz Factor Visualization\n- Visualizes the Lorentz Factor using the Phytagoras Theorem.\n- Represents the typical Lorentz Factor/Time Dilation curve in a new way, to better see the current state of dilated time.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./output_centered.gif\"\u003e\n\u003c/p\u003e\n\n## Requirements\n\nTo run and use the Time Dilation Calculator, you need the following:\n\n- `flet` framework installed.\n- Python 3.10 (Because of the Match-Case)\n\n## Usage\n\n1. Clone this repository.\n2. Ensure all requirements are met.\n3. Run the script.\n\n```bash\npython main.py\n```\n\n## Future Plans\n- Implement error handling for invalid input values.\n- Provide additional information on lorentz-factor and time dilation within the app.\n- ~~Include visualizations to better illustrate the concept of time dilation.~~ (Done)\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. [Maciej Kula](https://github.com/mcjkula).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcjkula%2Ftime-dilation-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcjkula%2Ftime-dilation-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcjkula%2Ftime-dilation-calculator/lists"}