Login
You're viewing the techdon.dev public feed.
  • Feb 9, 2026, 7:50 PM

    I'm doing region selection over an image. The selection has to follow the image pixel grid, and fun things happen on high zoom levels.

    You need to convert the mouse coordinates from screen to image space. The obvious solution is transform, then round(), to snap to the image pixel grid.

    But it feels shit.

    This is also what you'd likely get from the "AI writes code" experiments. How is the AI going to know that something it did, otherwise technically sound, doesn't *feel* good?

    💬 1🔄 0⭐ 2

Replies

  • Feb 9, 2026, 7:55 PM

    The only way is for the user to get involved in the development loop, which kind of defeats the purpose, doesn't it?

    Now, I once had a coworker, whom I told "just work on the UI and make it feel good to use". The reply was "but I don't know when it feels good, I need to be told what to do". This was very surprising to me, especially considering they were otherwise a rather good programmer.

    And now spoiler alert for how to do good feeling selection box: floor/ceil *away* from the origin point.

    💬 0🔄 0⭐ 0
  • Feb 10, 2026, 6:18 AM

    @wolfpld my guess is that the AI labs are gonna work on making the models accept video at higher framerates (so it can see every frame), then tie that into already ongoing work on computer interaction, and then somehow try to teach the model what feels good is. Though, it's a lot of very hard problems, and most software nowadays is really jank (especially all the websites/electron), so idk how successful this will be

    💬 0🔄 0⭐ 0