Hacker News new | ask | show | jobs
by andoando 783 days ago
https://www.reddit.com/r/sveltejs/comments/11y8flg/i_made_a_...

https://github.com/ando818/chess2

Codes probably bit messy but you can see the rendering of the board and pieces here. https://github.com/ando818/chess2/blob/main/src/routes/Board...

I found some 3D model files that came with the board and pieces in one gltf file, which threlte makes easy to extract out the nodes. Svelte reactivity also makes it super easy to move/position/scale/animate things, its just plain JS!

I was going to make a "Chess lounge" in the next iteration where you could walk around and watch other people playing in a cafe, but my interests moved on.

1 comments

The flat white (?) looks great. Looks exactly how I make it, and I even have a cup like that.