Skip to content

Commit 2237932

Browse files
authored
Add simple self contained example (#8)
Source located under [`static/simple.html`](/static/simple.html). You may find this version easier if you just want to see how the transformation works and apply it to your own projects. It is completely self contained and has no external dependencies making it convenient and easy to use.
1 parent 0f23e85 commit 2237932

2 files changed

Lines changed: 402 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[**Live WebGL demo**](https://harrygifford.github.io/special-relativity/)
44

5+
[**Simple single HTML version**](https://harrygifford.github.io/special-relativity/simple.html). Source located under [`static/simple.html`](/static/simple.html). You may find this version easier if you just want to see how the transformation works and apply it to your own projects. It is completely self contained and has no external dependencies.
6+
57
This project shows how the geometry of the world looks under
68
special relativistic transformations. You can see a live demo
79
[here](https://harrygifford.github.io/special-relativity/). You can see effects such as Terrell rotation, Doppler shifting and the headlight effect. Note that the
@@ -13,7 +15,7 @@ page uses WebGL. If you cannot use WebGL, there is a video
1315
Accelerating along a street at at relativistic speeds. You can see the
1416
geometric effects of [abberation](https://en.wikipedia.org/wiki/Relativistic_aberration) and [Terrell rotation](https://en.wikipedia.org/wiki/Terrell_rotation).
1517

16-
See [Explanation](/explanation.md) for details on the math.
18+
See [Explanation](/explanation.md) for details on the math as well as for information on how to add this to your own code.
1719

1820
## Usage
1921

0 commit comments

Comments
 (0)