Live data from Hacker News

Townscaper Running in the Browser

oskarstalberg.com

71–80 of 102 posts

Re: Townscaper Running in the Browser

#72

It runs perfectly for me on Chrome, but struggles on Safari (macOS, Monterey, MacBook Pro 2018). Does anyone know why?

Safari is pretty behind the times as browsers go, especially with WebGL. For instance, it doesn't support WebGL 2 (except maybe in beta?), which means you have to use WebGL 1. I'm guessing that's where some of the performance issues would come from.

Re: Townscaper Running in the Browser

#73
post #17

Wow, the entire town is URL encoded!! Example: http://oskarstalberg.com/Townscaper/#IzpjOEQ0ejP2X9w-b--c-X-...

How do you imagine this is done? Hashing the town state and storing lookup key as URL params?

No need. It's barely any data.

Re: Townscaper Running in the Browser

#74

Not sure why, but whenever I'm presented with something like this, I always seem to want to build the least functional, least utilitarian, most maddening and stupidest structure I can. http://oskarstalberg.com/Townscaper/#IzhCuCAJioFFB00CAajRAN2...

I dig it, very cool!

Re: Townscaper Running in the Browser

#75
post #27

I feel like this is how the UX for developing software should be. Types and intellisense plus copilot somewhat bring us close to something like this. Where adding a new module somehow automatically adjust itself to the project instead of having to provide strict API interfaces. Just a thought.

And runs into a familiar problem.

Because a real world requirement in software development is the equivalent of, "I want to model my town".

And in townscaper I can't, because the presets don't fit my real world town.

So you then need to hire in a specialist block customiser who can write custom blocks for you to use in the modeller.

And then you realise you've just pushed the problem one step deeper.

Re: Townscaper Running in the Browser

#76

Earlier quoted context omitted.

80gb of ram is now mid range???

ah yeah mostly meant the graphics card, 3060 is lower tier of 30 series. in terms of gaming yeah this is a mid-tier computer I want to get a 3090FE just because, but I'm not dropping $4K on that

You are in top 1% in RAM, top 2% in processor, and top 2% in GPU. I would not call that mid range. Hell I am running a 980Ti and its still on the top 10%.

Re: Townscaper Running in the Browser

#79

Earlier quoted context omitted.

ah yeah mostly meant the graphics card, 3060 is lower tier of 30 series. in terms of gaming yeah this is a mid-tier computer I want to get a 3090FE just because, but I'm not dropping $4K on that

You are in top 1% in RAM, top 2% in processor, and top 2% in GPU. I would not call that mid range. Hell I am running a 980Ti and its still on the top 10%.

It's unrelenting ha with the new intel surpassing some Ryzen (at the expense of power/heat) and DDR5... crazy.

Yeah I know for dev work can scale down eg. pi zero on a keychain and use cloud resources.

Post reply on HN