Canvas is available for Lemmy!

This is similar to reddit’s /r/place. Each user gets to place a pixel on a canvas. The pixels are refreshed every 30 seconds.

The website with the canvas is: https://canvas.toast.ooo/

To log-in, you simply provide your instance’s name and your username, and you get a code to log-in.

I have made a template for making an XNO flag. You can reach it by clicking here.

In the settings there is a button that allows you to toggle the tample on/off. You can use that button to make sure that you are placing the pixel in an unoccupied spot.

  • Max@nano.gardenOPM
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    Aaaah thank you for the clarification. Now I follow the logic!

    The RGB representation color of the pixel can be passed as the last nine digits of the amount delegated. The 8-bit RGB value is expressed as (R,G,B) where R, G, and B are numbers between 0 and 255. So if I want to set a pure yellow pixel (255,0,255) I can delegate “1.000000000000000000000255000255” to the account that controls that pixel.

    There might be a more user-friendly format to achieve this, but this is the most straight-forward implementation I can think of. A choice can be made to have a more specific format to reject un-formatted amounts and this way prevent accidental black pixels being placed.

    As to the “interactive network monitor”, can you expand on that? It is not obvious to me what you mean with that. Would this canvas be an example of such type of monitoring?

    • F00DPLZ@nano.garden
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      with so many digits i think using the smallest 9 raw values is a fine idea, especially for robust first implementations. right… there’s a lot of black space if you don’t restrict the digits, but i actually am not sure if i’m for or against that. black takes less power usually, right? lol

      it could be. especially using your suggested implementation, there’s accounts that exist already with delegated raw that will fall within the format, so if you designated that rep as the “place rep” you’d already have begun a place seeded with some beginning pixels.

      hm…is there enough space for position coordinates as well?

      if it’s something like nyano.place 1 nyano = Ӿ0.000001

      1.000001000000000000000255000255

      looks like there’s tons of leeway still there.

      also i wonder how much this format biases colors, i’m guessing it won’t be too significant esp. at this point

      re: interactive network monitor https://music.nanos.cc/ https://github.com/Joohansson/nanomusic this is the best thing that comes to mind that already exists

      my imagination is a little more complex and unfinished, but essentially it’s just reinterpreting the meaning of the functions and data that already exist in nano and transforming them into another form. example: reconstruct/interpret the blockchain data as a virtual city. i think doing this actually helps you concretize understanding about network flows, and at some point surely begins to affect them as well.

      • Max@nano.gardenOPM
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        hm…is there enough space for position coordinates as well?

        Oh, right! Yes, there is a lot of space for that. It would be possible to handle this with a single node.

        So, there could be a “Canvas” Representative node

        The amount delegated to it should follow a specific format, including a canvas-specific code, the 3-digit X coordinate, 3-digit Y coordinate, and the RGB code. There is easily more than enough space with the 30 digits we have to work with.

        The color of each pixel is set by the highest amount delegated that claims a pixel.

        The special code would make it so that there is no biasing, and that accidental pixel placements are very unlikely.

        re: interactive network monitor https://music.nanos.cc/ https://github.com/Joohansson/nanomusic this is the best thing that comes to mind that already exists

        Oh wow, I had never heard of that!! It is very cool. Do you mind if I will create a post to share that to !community_projects@nano.garden, unless you would like to make that post yourself _