High School Any interest in a spacetime diagram generator?

Click For Summary
SUMMARY

The discussion centers around a script-based spacetime diagram generator developed by a layman interested in special relativity. The creator notes the lack of effective alternatives, primarily GUI-based tools, and seeks feedback to improve the alpha-level software. Key features under consideration for enhancement include variable assignment for global changes, chaining worldlines, and improved drawing of simultaneity lines. The creator suggests that moving the project to platforms like GitHub or SourceForge could increase visibility and collaboration.

PREREQUISITES
  • Basic understanding of special relativity concepts
  • Familiarity with script-based programming
  • Knowledge of spacetime diagrams and their significance
  • Experience with version control systems like Git
NEXT STEPS
  • Explore GitHub for project collaboration and version control
  • Research variable assignment techniques in scripting languages
  • Learn about chaining worldlines in spacetime diagrams
  • Investigate methods for drawing lines of simultaneity in physics
USEFUL FOR

This discussion is beneficial for hobbyist physicists, software developers interested in scientific visualization, and educators looking for tools to illustrate concepts in special relativity.

Freixas
Messages
307
Reaction score
42
Hi,

I've written a script-based spacetime diagram generator. I have no idea if it has any value for anyone besides myself—you may have access to better tools than I do. When I looked for spacetime generators, I only found some very limited web tools and one downloadable program that wasn't much better. All of these were GUI-based, which is a big part of the problem.

I am in no way a physicist, just a layman curious about special relativity. If someone here would benefit from such a tool, I would benefit from having a professional set of eyes review it. At this point, consider this alpha-level software. There are probably still some bugs and I may make some drastic changes if I get some good suggestions.

Since it's script-based, you'll need to read the instructions—or you can skip ahead to the examples.

The diagram generator, like any tool, could be improved. I have some ideas for it:
  • Labels.
  • Some way of assigning variables, so that some global changes could be made in just one place. This could include variable assignment that allowed some math, or at least some function calls (such as a Lorentz transform).
  • A method of chaining worldlines from series of constant velocity and constant acceleration worldlines, with the ability to draw the instantaneous moving frame (IMF) at any point.
  • A better way of drawing lines of simultaneity between worldlines.
I have no idea if I'll get to any of these. I'm just one guy working on this in his spare time.
 
  • Like
Likes Ibix
Physics news on Phys.org
Even if you don't get any immediate positive responses, it might be worth moving the project to github or sourceforge.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 7 ·
Replies
7
Views
1K