WIP!! I'm trying to optimize this project so that it can be used a ton of scratch games. Current fps increase: 20 frames!!!! Here's what i've done so far: - decreased resolution/made resolution customizable (x2.5 fps!!!) - removed z from light calc bc It's not practical (+4 FPS!) - used regular pen instead of stamping to draw circles that are less than 5 transparency (+1 fps) - only draw circles that are less than 95 transparency (no major increase) - made music loop so that it's easier to listen to while testing (prob the most significant increase in fps) Here's what I want to add: - use a few large circles for large totally dark areas instead of a ton of small circles - decrease resolution/option to decrease resolution - use one continuous pen stroke where possible (I'm not sure how to add this one though or that it will significantly increase fps) Current fps increase: 20 frames!!!! Trade offs: - less precision when deciding size of lights - you can sometimes see the normal pen (solid) circles if the intensity is high enough for multiple circles next to each other (should I cap it?)