r/creativecoding • • 2d ago

Visualizing the landscape of chess openings

I thought this was kind of cool! I overhauled an old project of mine that visualizes the landscape of chess. It comes with a lichess database of games from 2000+ rated players, but you can also import your own Chess.com or Lichess games to explore your own openings. I'm planning to integrate Stockfish so it can help pinpoint the positions and openings you struggle with most.

Explore it yourself: https://chess-visualization.joshuadam.com

GitHub: https://github.com/joshuadam/chess-visualization

108 Upvotes

11 comments sorted by

6

u/jippiex2k 2d ago

Would be cool if you colored the leaf nodes by their winning colour. And then the branches by the average of their leaves

2

u/joshuaamdamian 2d ago

Great idea!! I'll add some other ways to display and visualize things later on thanks:)!

2

u/SamiAlhammadi 2d ago

This is a lovely way to see openings. For the Stockfish part, I'd mark the branches where your own games lose the most evaluation, so your weak spots show before you click anything.

1

u/joshuaamdamian 2d ago

Thanks a lot! And thanks a lot for the feedback:)! Great idea

1

u/SamiAlhammadi 1d ago

Glad it helps. Have fun with it.

1

u/gliese946 2d ago

Very neat, how many moves deep can it display the entire tree within the database? And can you "recenter" on a later move to explore the deeper parts of the tree from a given position, all the way to each game's ending?

1

u/joshuaamdamian 2d ago

Max moves is currently set to 10. Great idea about the centering thanks! I'll add some new ways to explore and display things soon:)

3

u/olzk 1d ago

Still not as complex as POE2 passives tree

2

u/timsam 2d ago

Beautiful!

2

u/CableOk7303 1d ago

oh, i can see myself playing around with this for a while. brb, while i go lose track of time.

1

u/dariotolkien 19h ago

Neo4j right?