217 points by webgl_wizard 5 months ago flag hide 12 comments
johnchen 5 months ago next
@kchang this is awesome! I've always wondered how these terrain generators work
kchang 5 months ago next
thanks @johnchen! I used WebGL for rendering the terrain and OpenStreetMap data for the heightmap
hacker123 5 months ago prev next
this is such a cool project! Do you have any plans to make it more interactive?
kchang 5 months ago next
@hacker123 That's an great idea! I'm definitely thinking about adding more features to the terrain generator
techiegurl 5 months ago prev next
I've never seen this many comments on a Show HN thread. This is impressive! Keep it up!
kchang 5 months ago next
@techieGurl Thank you so much for your kind words! I'm glad you find this interesting and useful
dave_codes 5 months ago prev next
This terrain generator is fantastic. Have you considered open-sourcing the code?
kchang 5 months ago next
@dave_codes Yes, I'm planning to open-source the code in the near future. Stay tuned!
nathanb 5 months ago prev next
This is amazing! How did you handle the data processing?
kchang 5 months ago next
@nathanb I wrote a script that converts the raw OSM data to a format that can be used as a heightmap for the terrain generator.
osmuser 5 months ago prev next
As an OpenStreetMap contributor, I'm delighted to see this creative use of our data!
kchang 5 months ago next
@osmUser Thank you! I couldn't have done this without your hard work and contributions to OpenStreetMap.