News for hackers. Stuff that matters.
Re:Exposure Simulator by moon2 on Wednesday February 11, 2026 @12:55PM (#46978353)
From the website:

If I ever find a good moving prop like a small fan, maybe I'll also re-shoot new previews to demonstrate how shutter speed affects moving objects.

Now, I'm just not sure how would one simulate a running fan with a picture. While for a static image you can have separated foreground and background and then apply effects for simulation (I know iPhone HEIC images have this property), for moving images you have to simulate the blur and the stillness, which is probably more difficult in terms of coding.

Re:Exposure Simulator by andyfilms1 on Wednesday February 11, 2026 @01:22PM (#46978695)
I love the idea that this guy was easily able to scrounge up a florescent bulb in a beer coozie, but a desk fan is somehow unobtainable.
Re:Exposure Simulator by nomel on Wednesday February 11, 2026 @07:42PM (#46983414)
Why simulate? Most modern cameras can be controlled through USB. Just actually take each one (except for ISO, which you can easily fake), encode the frames in a reasonable bitrate MP4, then have a lookup for the frame in the video. :D
Re:Exposure Simulator by internetter on Wednesday February 11, 2026 @09:01PM (#46984002)
This would require 18000 frames
Re:Exposure Simulator by moon2 on Wednesday February 11, 2026 @09:49PM (#46984329)
If you consider how long lower speed shutters will take and the aperture combinations, it would take a long time to take all the pictures and would stop being feasible.
Re:Exposure Simulator by nomel on Thursday February 12, 2026 @02:47AM (#46985962)
How so? Longest shutter on the page is 0.5 seconds. If every single picture was at 0.5 seconds, that's only 2.5 hours of exposure.
Re:Exposure Simulator by nomel on Thursday February 12, 2026 @02:44AM (#46985941)
So what. That's a little over an hour [1], and you're done! Some smallish JPG is all that's presented here anyways, so using a reasonable MP capture to JPG should easily fit on its SD card.

Also, there's around 4600 that are pure white, and something near that that are pure black, for the scene above (although more dynamic range would be very cool).

[1] 18000 * 0.5s shutter / 3600 = 2.5 hours for worst case shutter, /2 for average = 1.25 hours of exposure.

Re:Exposure Simulator by moon2 on Wednesday February 11, 2026 @09:47PM (#46984316)
I don’t know if I follow. You mean to keep a fan moving, take pictures with all the different combinations (aperture and shutter speed). Then merge on an MP4 file that you can lookup somehow the setting combo with the frame?

Sounds… reasonable I guess! I guess it can be simpler than I imagined. The owner of the site just needs a fan :-)

Re:Exposure Simulator by PetitPrince on Thursday February 12, 2026 @04:48AM (#46986785)
Ah ! Guilty as charged in not reading the whole page.

> Now, I'm just not sure how would one simulate a running fan with a picture.

I don't think it's necessary for this app. This is simulating what the camera sees, not what our eyes can see.