Algorithm-Arena / weekly-challenge-9-dragon-ball

7 stars 0 forks source link

Submission - Projections & Tracking #2

Open breytenlybaert opened 6 months ago

breytenlybaert commented 6 months ago

Vjeux-Algorithm-week9

Entry for : https://github.com/Algorithm-Arena/weekly-challenge-9-dragon-ball

Twitter: https://twitter.com/pandiculari

Code/Source: https://github.com/breytenlybaert/Vjeux-Algorithm-week9

Live Example: https://www.ogenvlam.com/VjeuxArena/week9/

Screenshots and Recordings below.

Geocoding via Openstreetmap - Nominatim

Explanation

Busy weekend, but wanted to see what Claude Opus could throw towards the weekly challenge. The map and transitions are based on Mike Bostocks d3js templates : https://observablehq.com/@d3/world-map?intent=fork

The inital goal was to create optimally distant locations from a starting point. I wanted to include height, accessibility an distance to society as parameters for the exact location. However, I've included them only as hints in this iteration.

For distance calculation I've used a Fibonacci Lattice, with interpretable steps. Not optimised, but sufficient for the visualization.

Caveat

The code has not been optimized for anything other than direct display. It is not mobile-friendly. It is not clean. It is not DRY. It is working.

Video

https://github.com/breytenlybaert/Vjeux-Algorithm-week9/assets/26576823/16a4cca2-07dc-4d38-8eef-38a4ea5eda02

https://github.com/breytenlybaert/Vjeux-Algorithm-week9/assets/26576823/a882480b-18a5-4ebb-b089-4ab66eee33e1

Screenshots

Screenshot 2024-03-17 at 20 56 16 Screenshot 2024-03-17 at 20 50 29
vjeux commented 6 months ago

This is so cool!

vjeux commented 6 months ago

Hey, congratz on the second place winning $50! Please ping me on twitter @vjeux or vjeuxx@gmail.com for how to send you the money.

breytenlybaert commented 6 months ago

@vjeux : Thanks! I really enjoyed participating and the challenge. As for the price, no need. Happy for it to roll over to the next price-pool. Looking forward to enter into a future challenge!

vjeux commented 6 months ago

Awesome, will do! Hope you had fun working on it :)