Show HN: MMOndrian

Made a collaborative, persistent state Mondrian-style painting editor. Feedback welcome!

mmondrian.com

73 points

neural_thing

12 days ago


43 comments

juancroldan 11 days ago

Love the idea, silly as it is! What came before, the app idea or the pun?

detourdog 11 days ago

Does this use the DeStijl manifesto. There were actual rules about how to use color and lines.

Heliodex 11 days ago

Awesome! I haven't had this much fun since r/Place.

The ultimate territorial acquisition strategy seems to be as follows:

- Pick a desired colour

- Choose a place to found your empire, ideally somewhere with a lot of large rectangles and a colour that takes few clicks to turn to yours

- Left click tiles to capture them for your colour

- Right click those same tiles many times to subdivide them into areas much smaller. What took you 1 click to capture will now take anyone else hundreds!

gschizas 10 days ago

This doesn't seem to work at all for me, but I don't see any error messages in the console or anything... I just see a dark gray screen with an (i) on the top left (with the instructions), but nothing seems to have any effect (left or right clicking, using the scroll wheel or dragging the mouse with left or right click) don't seem to have any effect. The only effect I'm seeing is right clicking on the page shows a "[CLIENT TRIGGER] Right-click at (123.456, 789.012)" message in the console log.

I can see that there's some traffic (for example, I see some WSS on socket.io, and some XHR for /state, /clients, /checksum) but it doesn't seem to change anything on the screen.

  • neural_thing 10 days ago

    looks like people somehow deleted everything, reset it to starting position

sublinear 11 days ago

By the time I arrived to this it was so subdivided it no longer looked like a Mondrian and someone had managed to write "ASS" in the lower left corner by changing the colors of adjacent rectangles.

  • neural_thing 11 days ago

    oh it's gone through a lot of iterations - I have seen Among Us characters, people clearing out the canvas down to 8 rectangles, entire thing going one color, had to delete a few obscenities, etc

thunkingdeep 11 days ago

Doesn’t seem to work, just unclicks whatever I click.

  • brookst 11 days ago

    Same. I thought I was in a battle of wills, and I guess I was, just not the way I thought.

brulard 11 days ago

My edits disappear either right away, or I can recolor for 20 seconds and then it gets reloaded with the previous colors.

  • neural_thing 11 days ago

    I think I'm having stability issues with lots of users, will try to figure it out, sorry

    • ASalazarMX 11 days ago

      OMG I thought I was fighting with someone really fast.

      • riidom 11 days ago

        I thought so too! Maybe it was true

    • mmazing 11 days ago

      It looks like you need to batch your updates and not tie them directly to UI actions, imo!

      Cool project!

    • brulard 11 days ago

      No need to apologize, just wanted to let you know there is an issue.

graypegg 11 days ago

{"message":"Too many connections. Please try again later."} coming from the socket.io websocket. Good luck with the hug of death, and sorry for my spam clicking!

  • neural_thing 11 days ago

    people wrote scripts to color everything one color, had to implement some limits, but I think should be good now

    • graypegg 11 days ago

      Sadly that is unequivocally a very fun thing to do, and honestly I was considering trying it before I came and checked the HN thread haha

    • kragen 11 days ago

      Maybe Anubis-style proof of work?

      • neural_thing 11 days ago
        2 more

        oooh good idea thanks

        • neural_thing 11 days ago

          implemented, thanks for the idea, love it

    • leoff 11 days ago

      sorry about that and the merges! I'm stopping now :)

      that was a fun way to spend the past hours

      • graypegg 11 days ago
        5 more

        Was it you that was trying to get the German flag on there? If so, wow great job! Got a few screenshots!

        https://f.toi.sh/21juin-mmondrian.png

        • leoff 11 days ago
          4 more

          yes hahah did it twice, I think OP nuked it once

          it was a simple rule, if y < 1/3, black, if y < 2/3, ...

          • amy214 10 days ago
            3 more

            I went on there with my young child, and there was a german flag on there, just not the 2000s german flag, more like 1940s german flag.

            Really we need some common sense censorship on that site someone made for fun.

            • graypegg 9 days ago
              2 more

              > Really we need some common sense censorship on that site someone made for fun.

              neural_thing was really good about resetting if anything went awry. It's just 1 person's toy project they wanted to share. Set your expectations of investment at that level. Detecting swasticas + every other symbol that might taint the mind of your young child is a rather hard task, and yet you expect it to be done for free for you.

              I can give them a break for missing one case, and point the blame for that solely at the internet in general for trying to ruin a purely fun thing with hate.

              • amy214 9 days ago

                This is not just an issue of my child, for example, if a German user were to open that site in public, they would be found guilty of hate speech, amongst dozens of localities : https://en.wikipedia.org/wiki/Bans_on_Nazi_symbols. Also in California, where speech is free but is not free of consequences.

                I don't make the rules here, I just don't want this guy to go to jail for his fun project.

      • neural_thing 11 days ago

        No worries lol. Learning experience for me :)

dmwood 11 days ago

I like this very much. BUT: What I cannot save I do not remember (quoth the Old Guy). Any way to save these images as SVG. (Screen grabs are less satisfactory.)

  • neural_thing 11 days ago

    I have a script that generates images every hour, will adapt it to let people save states!

dunham 11 days ago

I can't seem to pan, it would be nice if the zooming would zoom in to the mouse location. (I did manage to write HI near the left edge though.)

remram 11 days ago

Removing lines doesn't seem to work, it flashes out but then stays in.

  • ponsfrilus 11 days ago

    Have to click on black lines. They can be moved too.

    • remram 11 days ago

      I did, it flashes out, then it comes back in.

leoff 11 days ago

merging squares was the most satisfying part for me, but there is a bug sometimes when merging, the server refuses to do it even though it's valid

  • neural_thing 11 days ago

    yeah - merging has been tricky to nail down, definitely the thing that's gone through the most iterations so far

    • leoff 10 days ago

      I would love to know more about it! you should make a blog post

      • neural_thing 10 days ago

        it's been a learning experience for sure, but my blog is really not a good place for a technical story like this. i'll think about where i might be able to post it