{"id":19811998,"url":"https://github.com/bshoshany/spacetime-diagrams","last_synced_at":"2026-03-04T07:01:14.049Z","repository":{"id":108212946,"uuid":"500287216","full_name":"bshoshany/spacetime-diagrams","owner":"bshoshany","description":"Special-relativistic phenomena illustrated using spacetime diagrams.","archived":false,"fork":false,"pushed_at":"2022-06-10T22:29:00.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-09T20:25:52.168Z","etag":null,"topics":["mathematica","physics","relativity","spacetime","spacetime-diagrams","special-relativity","teaching","teaching-tools"],"latest_commit_sha":null,"homepage":"","language":"Mathematica","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/bshoshany.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-06-06T04:11:43.000Z","updated_at":"2024-11-19T17:04:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"882988ac-19c4-4aae-9d11-060961243511","html_url":"https://github.com/bshoshany/spacetime-diagrams","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bshoshany/spacetime-diagrams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshoshany%2Fspacetime-diagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshoshany%2Fspacetime-diagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshoshany%2Fspacetime-diagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshoshany%2Fspacetime-diagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bshoshany","download_url":"https://codeload.github.com/bshoshany/spacetime-diagrams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshoshany%2Fspacetime-diagrams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"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":["mathematica","physics","relativity","spacetime","spacetime-diagrams","special-relativity","teaching","teaching-tools"],"created_at":"2024-11-12T09:28:31.593Z","updated_at":"2026-03-04T07:01:14.032Z","avatar_url":"https://github.com/bshoshany.png","language":"Mathematica","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License: MIT](https://img.shields.io/github/license/bshoshany/spacetime-diagrams)](https://github.com/bshoshany/spacetime-diagrams/blob/master/LICENSE.txt)\n![Language: Mathematica 13](https://img.shields.io/badge/Language-Mathematica%2013-yellow)\n![File size in bytes](https://img.shields.io/github/size/bshoshany/spacetime-diagrams/SpacetimeDiagrams.m)\n![GitHub last commit](https://img.shields.io/github/last-commit/bshoshany/spacetime-diagrams)\n[![Twitter @BarakShoshany](https://img.shields.io/twitter/follow/BarakShoshany?style=social)](https://twitter.com/BarakShoshany)\n[![Open in Visual Studio Code](https://img.shields.io/badge/-Open%20in%20Visual%20Studio%20Code-007acc)](https://vscode.dev/github/bshoshany/spacetime-diagrams)\n\n# Special-relativistic phenomena illustrated using spacetime diagrams\n\nThe Mathematica notebook [`SpacetimeDiagrams.nb`](https://github.com/bshoshany/spacetime-diagrams/blob/master/SpacetimeDiagrams.nb) provides a comprehensive illustration of special-relativistic phenomena using a spacetime diagram with two frames of reference, S and S'. This includes:\n\n* A lattice of clocks.\n* Relativity of simultaneity.\n* Time dilation.\n* Length contraction\n* The twin \"paradox\".\n* The barn \"paradox\".\n* Time travel using tachyons.\n\n**Purchasing Wolfram Mathematica is not required to open the notebook! It can be viewed and interacted with using the freely available [Wolfram Player](https://www.wolfram.com/player/).**\n\nThe notebook's interface is quite straightforward. If I have time, I might add more detailed documentation or even a video explaining how to use it.\n\nThis notebook was created in order to teach special relativity to students purely geometrically, without using any math. It is suitable for students of any level, from high school to graduate school. Even experienced physicists may find it useful for deepening their understanding of and intuition for relativity.\n\nThe source code is available in annotated human-readable format in the file [`SpacetimeDiagrams.m`](https://github.com/bshoshany/spacetime-diagrams/blob/master/SpacetimeDiagrams.m). This file can be modified by the user, if desired, to change or add functionality to the program for their own purposes. It can also be used by students as an example of how to create an interactive user interface and/or perform relativistic calculations in Mathematica.\n\nIf you enjoyed this notebook, please star the [GitHub repository](https://github.com/bshoshany/spacetime-diagrams). If you use this notebook in your teaching, kindly provide your students with a link to the repository. I would also [love to hear from you](mailto:baraksh@gmail.com) about your experience using the notebook, or if you have any suggestions for improvement.\n\nCopyright (c) 2022 [Barak Shoshany](https://baraksh.com/)  ([baraksh@gmail.com](mailto:baraksh@gmail.com)). Licensed under the [MIT license](LICENSE.txt).\n\n## Version history\n\n* v1.0.1 (2022-06-10)\n    * Fixed a bug that prevented the notebook from working with the free Wolfram Player.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbshoshany%2Fspacetime-diagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbshoshany%2Fspacetime-diagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbshoshany%2Fspacetime-diagrams/lists"}