Live data from Hacker News

Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

dungeonmapdoodler.com

11–20 of 26 posts

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#13
post #12

What does this do? The moment I open it my fans launch into airplane mode, and the website runs at 5fps... (Firefox on Pop OS)

Sorry to hear that! Unfortunately the new svg filter stuff requires hardware acceleration to work at any decent speed on a computer. I haven’t nailed down the exact reasons that make it available or not, but in general, integrated graphics don’t seem to handle it too well. The current public release should still work well for you if you check out dungeonmapdoodler.com/draw, and once I release these new changes, I plan to keep that older version available to use for people who can’t run this one on their computer

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#14
post #8

It shouldn't be using CPU resources when nothing is happening.

Define nothing happening. I’ve made a lot of performance improvements to avoid redrawing anything that isn’t necessary, but it’s still drawing your mouse cursor constantly among other things, you wouldn’t expect any other drawing tool to drop to 0% cpu while open, would you? I absolutely agree it’s got some issues still, but I can’t just fully remove the draw loop cause then it’s not software any more, just a picture

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#15
post #9

It's cool, but I lost my whole map I drew when I accidentally double clicked and the site crashed.

Sorry to hear that! How big was the map you made? Images can get pretty large which used up a fair bit of ram, and I’ve found that if you overwhelm a computer, it tends to just make the screen go white and lock up, but I haven’t found a good solution to that other than warning the user on creation of larger sized maps

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#16
post #12

What does this do? The moment I open it my fans launch into airplane mode, and the website runs at 5fps... (Firefox on Pop OS)

Sorry to hear that! Unfortunately the new svg filter stuff requires hardware acceleration to work at any decent speed on a computer. I haven’t nailed down the exact reasons that make it available or not, but in general, integrated graphics don’t seem to handle it too well. The current public release should still work well for you if you check out dungeonmapdoodler.com/draw, and once I release these new changes, I pla…

I mean, I can run modern games at 60hz 4k resolution, so I’m inclined to believe my PC should be able to deal with the website ;)

Don’t go out of your way for me though, I doubt I’d ever actually use it.

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#17
post #8

It shouldn't be using CPU resources when nothing is happening.

Define nothing happening. I’ve made a lot of performance improvements to avoid redrawing anything that isn’t necessary, but it’s still drawing your mouse cursor constantly among other things, you wouldn’t expect any other drawing tool to drop to 0% cpu while open, would you? I absolutely agree it’s got some issues still, but I can’t just fully remove the draw loop cause then it’s not software any more, just a picture

I would absolutely expect any drawing application to drop to 0% when I'm not interacting with it. That's the norm with native applications, it shouldn't be any different for a web app.

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#18

Earlier quoted context omitted.

Define nothing happening. I’ve made a lot of performance improvements to avoid redrawing anything that isn’t necessary, but it’s still drawing your mouse cursor constantly among other things, you wouldn’t expect any other drawing tool to drop to 0% cpu while open, would you? I absolutely agree it’s got some issues still, but I can’t just fully remove the draw loop cause then it’s not software any more, just a picture

I would absolutely expect any drawing application to drop to 0% when I'm not interacting with it. That's the norm with native applications, it shouldn't be any different for a web app.

While I don't fully disagree with that, I just opened up Gimp and moving my mouse around made the cpu spike. That's with no brush selected or anything, just the default select tool and a completely blank screen. And yes, you can absolutely get more performance out of a native app than a web app, an editor built in javascript will always be less performant than one built in C++ or whatever something like Photoshop or Gimp is made in. That was a tradeoff I made to make something that was available to a wider audience instead of being locked down to a particular operating system.

I'm sure there's more improvements I could make on performance, maybe I could switch to only drawing the mouse cursor on the mousemove event rather than using the animation loop, but then when you're tweaking values in the menus, you won't see your changes in real time any more. It's all a balance, and this is just something I do in my spare time, I'd rather have fun building some new features than seeing my cpu usage drop by a percentage point.

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#19
post #16

Earlier quoted context omitted.

Sorry to hear that! Unfortunately the new svg filter stuff requires hardware acceleration to work at any decent speed on a computer. I haven’t nailed down the exact reasons that make it available or not, but in general, integrated graphics don’t seem to handle it too well. The current public release should still work well for you if you check out dungeonmapdoodler.com/draw, and once I release these new changes, I pla…

I mean, I can run modern games at 60hz 4k resolution, so I’m inclined to believe my PC should be able to deal with the website ;) Don’t go out of your way for me though, I doubt I’d ever actually use it.

Ah that's interesting then, I wonder if it's a linux specific issue with hardware acceleration? I know anything that's unable to offload the svg filters to the gpu runs terribly, and it makes the cpu spike to 100%. I'm hoping that browsers improve in the long run, but I'm also hoping I can figure out some ways to make it run better than it currently does.

Re: Show HN: Dungeon Map Doodler Beta - Free online map drawing tool

#20
post #16

Earlier quoted context omitted.

I mean, I can run modern games at 60hz 4k resolution, so I’m inclined to believe my PC should be able to deal with the website ;) Don’t go out of your way for me though, I doubt I’d ever actually use it.

Ah that's interesting then, I wonder if it's a linux specific issue with hardware acceleration? I know anything that's unable to offload the svg filters to the gpu runs terribly, and it makes the cpu spike to 100%. I'm hoping that browsers improve in the long run, but I'm also hoping I can figure out some ways to make it run better than it currently does.

Huh, yeah, that’s curious. It only has the one graphics card, so it would have to fall back to software rendering entirely. Which certainly explains the framerate I guess.
Post reply on HN