Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64PE programming challenge? auto-convert image to photoreal etch-a-sketch drawing
#1
This morning I was searching online for a certain image done on an etch-a-sketch and couldn't find it. 
I even tried getting a bunch of ai engines to generate the image, and they all failed - miserably!

Then it struck me that this could be a neat programming challenge...

I think (in theory) that using QB64PE to draw a gray line on that silver-gray etch-a-sketch background, and have it look photoreal shouldn't be too hard. We could google etch-a-sketch and download a bunch of pictures and just zoom in real close to see what gradations of gray make up the individual lines. 

Then it becomes more of a problem of analyzing an image and vectorizing it, but only using movements that could be done with the two knobs (horizontal & vertical). 
We could allow diagonal lines to emulate turning both knobs at the same time - maybe one knob is turned faster than the other or if the person has a really steady hand, at the same rate. 

The actual analyzing of the image to turn into line art is something way beyond me, maybe the program could use QB64PE's HTTP capability to call some free REST API that does the raster to vector conversion? Or maybe this could be done in QB64PE, or just converted from existing logic done in some other language. Maybe Spriggsy or someone with a subscription to chatgpt or similar could try having it generate that logic? 

Anyway, I just thought it was an interesting idea that I'd share here with y'all!
Reply


Messages In This Thread
QB64PE programming challenge? auto-convert image to photoreal etch-a-sketch drawing - by madscijr - 02-13-2025, 03:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QB64PE Excel-type spreadsheet supporting formulas and QB64PE macros? madscijr 33 1,428 01-30-2026, 12:28 AM
Last Post: madscijr
  graceful way to test for a valid image handle such as before doing _FreeImage? madscijr 7 1,022 11-11-2025, 03:50 PM
Last Post: madscijr
  personal coding challenge results James D Jarvis 4 623 06-20-2025, 03:20 PM
Last Post: James D Jarvis
  A strange experience with forum posting an image TempodiBasic 2 535 06-17-2025, 06:01 AM
Last Post: TempodiBasic
  Well after a month it's back to the drawing board. Pete 12 1,797 05-15-2025, 11:00 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)