How to make a dance floor?

I do not know how to use the color behavior to slowly shift between colors to give a dance floor effect, how do I do this?

1 Like

I have no clue either, but I do know how to make an animation to do the same thing.

too lazy to animate

you literally just make multiple frames with colors fading from one to the other.

too lazy too many frames can be easier done with code

Screen recording 2025-01-29 11.04.50 AM
this only took 6 frames.

Do you want all of them unified? Like all the colors between all blocks shift the same

1 Like

Yeah!

1 Like

Ok, I’ll see what I can do. :+1:

1 Like

Will this work? I can mess with any of the colors too, if you want. (It uses sine and cosine to change the colors. Then you can change the speed of it too)

The colors can deffinatly be changed though.
(epilepsy warning lol.)

2 Likes

This is exactly how I wanted it!!! Do you know how I can change the colors that are being shown to red, blue, yellow, orange, and pink? (or somewhere close)

Thank you!

1 Like

Ok, cool! I can try to change them too, if you want. But the basic idea is changing the values in each expression. For example, right now its; Math.sin(A+B+C)*100 for the red expression. Changing it to Math.sin(A+B+C)*90 will change the color. (Changing it to Math.cos(A+B+C)*100 can change the color or the timing of the color too.) Let me know if you want me to adjust them.

1 Like

Actually, here is a new version. It comes with green too, not sure if you wanted that. But the math is made by Recryptech, not me this time. (From RecrypText) It saved me some time + works really well.

Really hope this helps!

2 Likes

This works SOOOOO well! Thank you so much!

1 Like

No problem! All credit to @‘RecrypTech’ though. :+1:

1 Like

It’s so beautiful…

1 Like

Looks cool!
I think I have outdone myself lol. Its the third level. It spawns in 256 pixels to make a 32x32 square, that looks suuuuper smooth lol.

1 Like

that one looks beautiful

1 Like

Thanks, I have a super secret plan for it too

1 Like

yo, did you and thatboxlion finish that game you said you were working on? could you post it on flowlab???

1 Like