mark2222
mark2222
322 / 6
29th Dec 2017
29th Dec 2017
It's a color printer! Using photon stacks and a powerful new single-chamber particle ROM based on the latest particle-order manipulation paradigm.
printer subframe electronics 60hz memory sorcery electronic colors 4096 particle

Comments

  • Matera_the_Mad
    Matera_the_Mad
    2nd Jan 2018
    I used to crochet while waiting... LOL
  • Matera_the_Mad
    Matera_the_Mad
    2nd Jan 2018
    Internet has been slower.
  • NoVIcE
    NoVIcE
    2nd Jan 2018
    Actually, the question mark shouldnt be there, i was just pointing out. And this printer is very cool indeed :)
  • NoVIcE
    NoVIcE
    2nd Jan 2018
    So, as it uses a particle palette, it can print basically any TPT "stamp" inside a 128^2 grid?
  • Annie_
    Annie_
    2nd Jan 2018
    tfw random text on top of FP says: electronics + art is double valued
  • mark2222
    mark2222
    2nd Jan 2018
    @Damian97 You assumed right! :D
  • Di97
    Di97
    2nd Jan 2018
    I see. Assumed that the building of circle comes from here
  • mark2222
    mark2222
    2nd Jan 2018
    @Damian97 The squared distance of point (x, y) from the center of the image (WIDTH / 2, HEIGHT/ 2) is (x - WIDTH / 2) ** 2 + (y - HEIGHT (oops) / 2) ** 2). This line sorts the pixels according to their distance from the center, then reverses the order so that the furthest pixels are drawn first, so you get the shrinking circle effect in the second-to-third image transition. Here, pixel positions are denoted by a single number i = y * WIDTH + x, so there's a bit of gymnastics to recover (x, y).
  • Di97
    Di97
    2nd Jan 2018
    Studied your script. Most of it is pretty much understandible, however img3order = reversed(sorted(img2order, key=lambda i: ((i // WIDTH) - WIDTH / 2) ** 2 + ((i % WIDTH) - WIDTH / 2) ** 2)) gives questions. Mind explaining a little it for me?
  • mark2222
    mark2222
    1st Jan 2018
    @apple5265 First, find an image, crop/resize to 128x128 and save as png. Then use something like https://ptpb.pw/Vh1K to convert the image into printer commands (that file is specific to the demo). Then use https://ptpb.pw/Zku0 to import the printer commands into powder toy: first, clear any existing photon stack and reload particle order; then call "loadfile.lua('import_phot_data.lua'))(x, y, commands_file)" where (x, y) are the coordinates of the photon stack.