Controlling diffrent parts in neopixel strip

I have a painting in my wall, i wrapped it with 5 mt ws2812 strip. How can I make each side diffrent color ?
For example, left side is red (led num 0-70), upper side blue (70-141), right side green( 142-212), down side white (213-297). It has 289 leds total. Im using Uno with 5v adaptor directly to the strip.

ugurinann:
How can I make each side diffrent color ? For example, left side is red (led num 0-70), upper side blue (70-141), right side green( 142-212), down side white (213-297)

Do it like you just said it. Simple as that. Turn that English into code.

The libiary that you use has a function for setting the value of the colour for each individual LED. Use four for loops, each one setting your specified range of numbers to the colour you want.

PaulRB:
Do it like you just said it. Simple as that. Turn that English into code.

if could, i wouldn't ask for your help, right ? :slight_smile: i have tried using diffrent variables for diffrent parts but it didnt worked. I cannot define where it stops and where it starts with variables (i in this case).

So post the code of one of your failed attempts and say what it does and say what you want it to do.

Please read this:-
How to use this forum it will tell you how to post code here.