-
Creating randomly turning on and off lights in a cityscape
I’m currently working on a project that requires a ‘busy’ cityscape. I need to show that the city is bustling by making lights turn on and off in the windows. I’ve created a ‘lights’ solid and masked all the windows, and I’m trying expressions on the opacity of each mask to try and get the desired effect.
I’ve put in a few wiggle expressions, but these just constantly alternate between the opacity values which isn’t that realistic. A light would either be on or off, although alternating between 100 and 0 on the opacity instantly doesn’t look good either, so i want it to change between on/off over 5-10 frames or so, but be doing this every so often.
Any ideas?