Why did nobody tell me that the 16 bit noise looks SO much better

Why did nobody tell me that the 16 bit noise looks SO much better than the 8 bit version?!

Just working on a SmartMatrix noise playground.
Way better structured than FunkyClouds was.
Full palette support.
Every animation is now basically just a set of (pretty many) parameters which makes it fun to play with.
More to come.

Btw, how many faces do you see in the video?
http://www.youtube.com/watch?v=GxJQFQelZQs

That’s awesome!

Looks like fabric ripples. How do you manipulate the noise to get it to go in one direction? Do you leave the Z axis alone and increment others? Too cool!

Z is not touched. Instead of many words just the code. That is the complete parameter handling:

void Lavalamp1() {

PaletteRed();

noisesmoothing = 200;

x[0] = beatsin16(3, 200, 64000);
y[0] += 100;
z[0] = 7000;
scale_x[0] = 6000;
scale_y[0] = 8000;
FillNoise(0);

x[1] = beatsin16(2, 200, 64000);
y[1] += 130;
z[1] = 7000;
scale_x[1] = 6000;
scale_y[1] = 8000;
FillNoise(1);

x[2] = beatsin16(4, 200, 6400);
y[2] += 1000;
z[2] = 3000;
scale_x[2] = 7000;
scale_y[2] = 8000;
FillNoise(2);

MergeMethod1(2);
}

The first 2 layers get overlaid for the color, the 3rd on is a brightness mask.

Are you using the Gamma Correction feature in SmartMatrix? It’s on by default in SmartMatrix, but the FastLED SMART_MATRIX controller turns it off by default. It could make a big difference in a pattern like this.

The FastLED_Controller example included with SmartMatrix shows how to enable Gamma Correction

Now I´m using it. That makes indeed a huge difference, thank you for the hint, Louis!

The Gamma Correction maps a 24-bit color into a 36-bit color space (or 48 if you modify a header file but it costs CPU and memory and doesn’t make a big difference). Fades to and from black should look much better with Gamma Correction on.

Cool. So if I initialize the SM as a FastLED controller with gamma correction switched on it internally calculates and uses automaticly the 36 bit space, right? I ask because I get less fps now. 43 vs. 54 with 3 noise layers.

Yes, it’s done on the fly one row at a time while refreshing. You can switch it on and off while your sketch runs if you want to compare the effects.

code would be great :slight_smile:

@Anton_Mulidran Oh but he did! You have to look for it under this thread. He shared the process for how he went about and offered a solution. The fun part should be trying to figure it out on your own, at least that’s what I call fun…sheesh

@Jon_Burroughs
My bad :slight_smile: I didn’t see part of code he posted.