Skip navigation
"Balatro" in 345 chars
0:00 / 0:31

"Balatro" in 345 chars

Xor

@XorDev40K followers

Visit on X
1,985 likesDownloadOriginal post

42,427 views #define

"Balatro" in 345 chars #define M max(0.,1. float i,l,a,b;vec2 v=ceil(FC.xy/r.y*3e2)/18.-8.*r/r.y,u=v*mat2(cos(vec4(4,37,15,4)+.1*t-length(v)/6.));for(v=u+u.yx;i++<5.;l=length(u-=cos(u+u.yx)-sin(u.x*.7-u.y))/7.)v+=sin(max(u,u.yx))+u, u+=.5*sin(v/vec2(3,1)+.2*t).yx;a=M-abs(l-2.))+.1,b=M-l);o=a/vec4(1,4,4,1)+vec4(0,.4,.7,1)*b+M-a-b)/vec4(17,8,7,1)+M+a-2.)+M+b+b-2.6);

10 Comments

Comments from the original post on X (Twitter)

  • Xor's profile picture

    @XorDev

    I wasn't able to fit it in a tweet, but the original shader was 1745 chars, so that's still a 5 to 1 reduction! Live demo: Original:

    50 likes

  • ZeroSequels's profile picture

    @nick_explores

    @BalatroGame I'm officially snitching, this digital hoodlum, this dare I say rogue , is apeing your art style. Please report him to the balatro police. Thank you very much.

    20 likes

  • Xor's profile picture

    @XorDev

    @BalatroGame How could you 😭😭

    9 likes

  • Hooch's profile picture

    @Hooch1981

    I can hear this

    9 likes

  • Pehq 🏳️‍⚧️'s profile picture

    @pehq_

    This is very cool!!! I hope Roblox has something similar so I could implement it into there. For now I'll have to rely on cheeky tricks.

    4 likes

  • bippy 🚬's profile picture

    @bippolaroid

    so cool

    3 likes

  • John's profile picture

    @jrysana

    Good memories

    2 likes

  • Jasiel Guillén's profile picture

    @Darkensses

    Thanks xor! I'm really a fan of Balatro and this is like a gift! 🔥❤️🔥❤️

    2 likes

  • ♦️ISOLATE/IMMUNISE♦️'s profile picture

    @OminousBeeping

    @dustrial

    2 likes

  • Emrah's profile picture

    @emrahdx

    Cooking up something extra special

    1 like