[HN Gopher] Clone-a-Lisa
       ___________________________________________________________________
        
       Clone-a-Lisa
        
       Author : CharlesW
       Score  : 118 points
       Date   : 2023-08-19 20:15 UTC (2 hours ago)
        
 (HTM) web link (vole.wtf)
 (TXT) w3m dump (vole.wtf)
        
       | TacticalCoder wrote:
       | 25%, very cool. Is it possible to see other people's submissions
       | or is it all client-side?
       | 
       | P.S: I thought it'd be an entry about cloning the 1983 Apple Lisa
       | computer...
        
         | mahathu wrote:
         | I drew a cock & balls and got more than that
        
         | mattround wrote:
         | All client-side; would've been nice to store & play back the
         | drawing process, but that would've been a lot of extra work and
         | created a whole load more UI/design/clutter problems to solve
         | (it was very much a keep-it-small-and-get-it-launched project,
         | around 2.75 days total).
        
       | mattround wrote:
       | I made this game; in case anyone's wondering how the scoring
       | works: It draws your version over the original with 'difference'
       | compositing, then downscales the result (using 'medium' quality
       | to avoid most pixels getting skipped) and adds up the R, G & B
       | values for every pixel in that small image. This total is then
       | compared with the total difference for the initial state (which
       | represents 0%).
       | 
       | Darker areas have the biggest initial difference, and the whole
       | pic is darker than the initial canvas, so get a lot of paint down
       | and pay most attention to the dark bits, you'll soon get over
       | 70%. 85% is v good, and I think 90% is probably possible with
       | enough skill and speed.
        
         | thatwasunusual wrote:
         | > I made this game
         | 
         | You moth..f.... piec. of sh..! Now I can't sleep!
         | 
         | EDIT: After having played it a few times, I think you should
         | expand on the idea, because it seems to be a great tool for
         | training visual memory.
        
         | throwaway45467 wrote:
         | Fun! What did you implement it with?
        
           | mattround wrote:
           | It's just simple HTML/CSS/JS and canvas manipulation; scoring
           | is done using 'difference' compositing & checking pixel RGB
           | values, and brushes are built up from bog-standard canvas
           | strokes.
        
         | ajdoingnothing wrote:
         | You're a very creative & talented person!
        
         | KRAKRISMOTT wrote:
         | You might like the non-maximum suppression algorithm from
         | computer vision
        
         | mattround wrote:
         | (So yes, you can rack up points from simple blocks of colour up
         | to a point, but need to get the shapes right to go higher)
        
           | lbourdages wrote:
           | My child-level attempt got 63.1%, so there are definitely
           | diminishing returns.
           | 
           | Side note, I did not notice the button to show the reference
           | until I was almost finished. I would most likely have done
           | better if I had known :)
        
             | calderknight wrote:
             | I wouldn't be too sure. My first attempt got ~67% without
             | using the reference. My second attempt got 60% with the
             | reference.
        
       | youyo wrote:
       | 0986314427
        
       | darepublic wrote:
       | My best score was achieved by rubbing all colours across the
       | canvas. Got 70 percent this way
        
       | vippy wrote:
       | Whoa, nearly 70% on my first try! https://imgur.com/a/6ZmDqXU
        
       | bsuvc wrote:
       | It's kind of fun, but pretty difficult and I would like to have
       | an option for more time.
       | 
       | Also, I'm not so sure about the scoring.
       | 
       | I got over 80% just painting solid color rectangles filling the
       | entire width stacked top to bottom.
       | 
       | That is better than I got when I actually tried drawing the
       | picture as accurately as I could.
        
         | 878654Tom wrote:
         | I did a full black painting and got 65%. Kinda showcases how
         | humans and computers differ in how they "see" things.
        
       | klyrs wrote:
       | 12.5%! Take that, dad, you said I'd never be an artist.
        
         | qup wrote:
         | And it's only your first day!
        
         | [deleted]
        
         | d-lisp wrote:
         | Wait til you reach 250%
        
       | themodelplumber wrote:
       | 68.9%. Feeling VERY lucky at that, lol. This seems like a really
       | fun family or party game, thank you for making it.
        
         | pvg wrote:
         | 0.1% off 'nice' feels a little bit unlucky.
        
           | themodelplumber wrote:
           | No, I have a vision issue at the moment. Hope to be hitting
           | those high scores soon, thanks for your feedback
        
             | pvg wrote:
             | https://www.dailydot.com/unclick/69-nice-meme-twitter/
        
               | themodelplumber wrote:
               | Sorry, can you describe it for me. Looking to come off
               | this strong, thanks
        
       | anoncow wrote:
       | I painted the Mona Lisa with 73.2% accuracy!
       | https://vole.wtf/clone-a-lisa/
        
       | tkzed49 wrote:
       | It would be cool to see other people's drawings... maybe as
       | simple as a hashtag and a feed of tweets?
        
       | x0n wrote:
       | Hilarious way to spend 15 mins. Thanks!
        
       | version_five wrote:
       | This is really cool - the scoring is "easy" enough that it felt
       | rewarding enough to spend the time on. Though it may need
       | tweaking if as someone mentioned a solid color gets 80%. Maybe it
       | just needs to have the mean subtracted first so a color doesn't
       | automatically being you closer than 0,0,0? (I could be completely
       | misunderstanding how it works).
       | 
       | A hosted leaderboard with pics that got the highest % would be
       | cool
        
       | tiffanyh wrote:
       | 78% with just 4 color bars.
       | 
       | Super fun game.
       | 
       | Problem is, I got a 78% score with just 4 horizontal color bars.
       | 
       | https://ibb.co/Mpvt1c2
       | 
       | EDIT: why the downvotes?
        
       | zuluonezero wrote:
       | What score can I get if it looks like Lisa Simpson?
        
       | Sarkie wrote:
       | What a perfect game.
       | 
       | What a great developer.
        
         | tleilaxu wrote:
         | What a great name, too!
        
       | aldebran wrote:
       | Can this be given a multiplayer flair? Would be a very fun party
       | game!
        
       | hedgehog wrote:
       | At first I thought it was going to be about this, a very recently
       | successful effort to clone the Apple Lisa:
       | https://hackaday.io/project/192235-a-brand-new-apple-lisa
        
       | gus_massa wrote:
       | It would be nice [1] to see a side by side comparison.
       | 
       | [1] actually horrible in my case.
        
         | croisillon wrote:
         | i think so too, even during painting
        
       | voidwtf wrote:
       | Definitely did a double take when I saw the URL, I don't see many
       | .wtf urls let alone so close to my own.
       | 
       | Fun little game :)
        
         | [deleted]
        
       | jheriko wrote:
       | This is really awesome
        
       | armchairhacker wrote:
       | 62.8% https://vole.wtf/clone-a-lisa/
       | 
       | EDIT: Oh, I thought it would embed the results in the link. I
       | think you should add that as a feature so it's easier to share
        
         | mattround wrote:
         | Would've been nice to do that (& maybe play back the drawing
         | process), but I was keen to keep the project small & get it
         | launched (took 2.75 days in total, I tweeted the dev process).
        
         | [deleted]
        
       | crazygringo wrote:
       | Cool!
       | 
       | I definitely want to see other people's versions, and then I want
       | to see everybody's (or the last 100 or 1,000) averaged together.
       | Also a leaderboard with the best ones. :)
        
       ___________________________________________________________________
       (page generated 2023-08-19 23:00 UTC)