the line of pain
telepix.write((getPixel(start_x + 0, start_y + 0) and 1 or 0)..(getPixel(start_x + 1, start_y + 0) and 1 or 0)..(getPixel(start_x + 0, start_y + 1) and 1 or 0)..(getPixel(start_x + 1, start_y + 1) and 1 or 0)..(getPixel(start_x + 0, start_y + 2) and 1 or 0)..(getPixel(start_x + 1, start_y + 2) and 1 or 0))

the line of pain, but it’s slighly shorter
telepix.write((getPixel(start_x,start_y)and 1 or 0)..(getPixel(start_x+1,start_y)and 1 or 0)..(getPixel(start_x,start_y+1)and 1 or 0)..(getPixel(start_x+1, start_y+1)and 1 or 0)..(getPixel(start_x, start_y+2)and 1 or 0)..(getPixel(start_x+1,start_y+2)and 1 or 0))

the line of pain, but it’s no longer a line, or pain

telepix.write(
    (getPixel(start_x + 0, start_y + 0) and 1 or 0)..
    (getPixel(start_x + 1, start_y + 0) and 1 or 0)..
    (getPixel(start_x + 0, start_y + 1) and 1 or 0)..
    (getPixel(start_x + 1, start_y + 1) and 1 or 0)..
    (getPixel(start_x + 0, start_y + 2) and 1 or 0)..
    (getPixel(start_x + 1, start_y + 2) and 1 or 0)
)
a08baa4d-49ac-417e-bc84-0d1de50d6300

ajoutée le 5 juin 2026 à 15:18


retour à l'accueil
partager