4 ms·
This is very cool. Random thoughts, though more on the example app than all of it: - When editing the floorplan, it's possible to push walls into each other an
by PavlovsCat 11y ago
This is very cool. Random thoughts, though more on the example app than all of it:
- When editing the floorplan, it's possible to push walls into each other and no way to get them away from each other again other than deleting one; even just a minimum distance between walls of of say, 10cm would solve this, in combination with the zoom function.
- Any idea what makes this slow-ish when moving the camera? It's perfectly useable, but it would be even nicer with 60fps is what I'm trying to say :)
- How about having the "pan" functionality accessible via a modifier key and dragging the mouse, in addition to the buttons? It would also be neat to be able to resize objects in a similar way.
- Saving floor plans and designs to local storage would be great, as would be the ability to collaborate with others. And of course, a feature to save the current view as an image.
- cstanley 11y agoThis is good feedback re floorplan editing + "pan" via modifier key, thank you. The slow-ish feeling whilst moving the camera is due to the processing limitations of your machine, the scene is set to render as fast as possible. Also re saving floorplans + designs, if you want to use this as a tool to collaborate with others checkout furnishup.com, our application built off of this open source - still needs a bit of improvement :)
- PavlovsCat 11y ago> The slow-ish feeling whilst moving the camera is due to the processing limitations of your machine, the scene is set to render as fast as possible. It turns out it's limited to at best 20fps, actually: function animate() { var delay = 50; setTimeout(function() { requestAnimationFrame(animate); }, delay); render(); }; Replacing that with function animate() { requestAnimationFrame(animate); render(); }; makes it smooth as butter :)
- cstanley 11y agoAhhh yes, now I remember. Anything > than 20fps made it so I could fry an egg on my laptop :) Thanks for digging!