Inspiration
So I was thinking about relativity and I was like "what how is this so complicated. like i dont go faster than like 40mph on an average day how is light 700 million mph" so I made a thing to "fix" that.
What it does
It shows you the time dilation factor (the Lorentz factor) of your phone given any speed of light (like 1mph). That's it.
How we built it
I had a small Rust project this morning that just drew a unit circle and a triangle to a point on the circle (trigonometry!) and then I thought of relativity. Then I spent like 3 hours fixing it up so it uses my phone's accelerometer to estimate velocity inaccurately because the stupid accelerometer is inaccurate. Also the accelerometer part is a tiny web app that streams data to a Rust server over websockets.
Challenges we ran into
My partner left halfway through the day but he honestly didn't contribute much so I was basically solo the whole time anyways.
Accomplishments that we're proud of
- It works
- It's my first hackathon and I built a barely working project
What we learned
Hackathons are awful without teams I should have worked with someone.
What's next for Relativistic iPhone
rm -rf relativistic-iphone/*
Log in or sign up for Devpost to join the conversation.