[Help] Add random flicker to pixel sorting

Hey so I’m attempting to add a random flicker to the rendered image having the script select two random values for the pixel sort and have it flick between them. Potentially saving as a GIF or video.

Here is the script I’m working with

Any help would be appreciated

Cheers

Hi @cwe2000 ,

Welcome to the forum! :wink:

What is your actual issue? What is not working? What have you tried so far?

This sounds very amateur since I don’t really know what I’m doing. So I’ve figured out how to generate a random variable for the brightness value, which was my original problem. But I want to know how to have it generate x amount of images each with a new random value, and have them export to a gif or video.

ok, can you at least post a working code so we can see what’s going on? :wink:

From what you said, you can check the documentation for the following functions :