chrisfosterelli/physical-gradient-descent

Code for https://fosterelli.co/executing-gradient-descent-on-the-earth

44
/ 100
Emerging

This tool helps you find the lowest point on a real-world terrain by simulating a 'physical' ball rolling downhill. You provide geographical coordinates and a topographical map file (TIF), and it outputs the path taken and the final lowest point. This is useful for researchers or geospatial analysts studying elevation profiles or optimal descent paths in natural landscapes.

Use this if you need to simulate or analyze how something would naturally roll down a real-world hill or mountain, using actual elevation data.

Not ideal if you're looking for a general-purpose optimization algorithm for abstract functions or non-geographical data.

geospatial-analysis terrain-modeling elevation-mapping geography-research path-finding
No License No Package No Dependents
Maintenance 13 / 25
Adoption 8 / 25
Maturity 8 / 25
Community 15 / 25

How are scores calculated?

Stars

69

Forks

11

Language

Python

License

Last pushed

Mar 27, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/chrisfosterelli/physical-gradient-descent"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.