Menu

1 / 2

We taught a laptop to find the laws of physics from a video (and spot things it can't see)

DEV Community: rust·armangulia29·about 4 hours ago
#WFpeDRUP
#devtorust#devto#dev#physics#hidden
Reading 0:00
15s threshold

In school, physics always came with the formula first: here is T = 2π√(L/g), now plug in the numbers. A few weeks into B.Tech, my teammate Vinayakan V and I wondered: what if you did it the other way round? What if you just filmed something moving and let the computer work out the formula?

That question became Video2Law , which we built in one day for the Open Scientific Intelligence Hackathon 2026.

What it does

You open a short video of something swinging, and the app:

finds the equation of motion by itself,

discovers energy : it searches for the quantity that stays almost constant, and finds the textbook energy formula without us telling it,

measures the leak : how fast friction drains that energy,

predicts the future : a "ghost" pendulum runs ahead of the real one, and you can ask "what if this were on the Moon?",

and our favourite part, Neptune Mode .

Neptune Mode

In the 1840s, Uranus wasn't moving quite the way Newton's laws said it should.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.