How to make Adafruit strip flash specifically this way

Hello all. I essentially want to do exactly what this guy did, however his code isn't compatible with my redboard for some reason. I configured my piezo and sensitivity pot to a satisfactory level, now I just want it to output a straightfoward white flash with fades in and out similiarly to this. Any pointers would be appreciated.

Example in question

my current code

// these constants won't change:
const int ledPin = 13; // LED connected to digital pin 13
const int knockSensor = A0; // the piezo is connected to analog pin 0
const int threshold = 200; // threshold value to decide when the detected sound is a knock or not

// these variables will change:
int sensorReading = 0; // variable to store the value read from the sensor pin
int ledState = HIGH; // variable used to store the last LED status, to toggle the light

void setup() {
pinMode(ledPin, OUTPUT); // declare the ledPin as as OUTPUT
Serial.begin(9600); // use the serial port

}

void loop() {
// read the sensor and store it in the variable sensorReading:
sensorReading = analogRead(knockSensor);

// if the sensor reading is greater than the threshold:
if (sensorReading >= threshold) {
// toggle the status of the ledPin:
ledState = !ledState;
// update the LED pin itself:
digitalWrite(ledPin, ledState);
// send the string "Knock!" back to the computer, followed by newline
Serial.println("Knock!");
}
delay(50); // delay to avoid overloading the serial port buffer
}

Hi. Please go read the forum guide in the sticky post, then modify your post above and put in code tags and the other things mentioned in the guide. Right now, your post is breaking forum rules. Also please post links so they can be clicked, this forum does not automatically spot links and make them clickable for you.