Description
A quick test project I made to generate lens flares, the kind of lens effect which would be visible when you point a camera at a bright light source like the sun. The end result is a quite nice-looking effect. The effect is composed of many individual lens flare elements. I made two of the lens flare textures using external image editing software, each one is a simple shape colored white with a radial gradient ranging from opaque at the edges to partially transparent at the center. More transparency is added by the project itself. This is a clone-based method, which means each lens element is a clone (A stamp-based version is perfectly doable, though). The clone is assigned a random size, position factor, shape, and transparency. There are 30 clones in total, though this can be changed in the code depending on how many lens elements are needed. The lens elements' positions are all multiples of the sun position. Everything is done in 2D, but this can be applied to a 3D project if Sun X and Sun Y are set to the projected coordinates of the sun. This project doesn't lag very much, but it does look smoother on TurboWarp with these settings: https://turbowarp.org/666704223?hqpen&fps=60&limitless Updated 16 April 2022 - Added exposure adjustment, where the background darkens when looking directly at the sun. Changed the sun streaks to make them fade in when looking directly at the sun. Released 3 April 2022 Anyway here's a bunch of tags: #Sun #Light #Sunlight #Day #Sky #Glare #Camera #Lens #Flare #Effect #2.5D #3D #Math #Clones #Mobile
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
-

Dont YOU DARE! (200 follower special) (Waterfall Dust Sans Encounter)
by DogArmyKing
-

Klasky Csupo Has A Sparta remix
by t2-_
-

Windows 10 Crazy Error
by ItsFrezeyy
-

Alphabet Lore but the word is Acquaintances (My Take)
by SillyGooseReturns
-

kScratch-T99 Animations (MGM logo parody)
by kScratch-T99
-

Bop It Original MEME edition
by creilly-tcsbell
-

One night with blam's 2 hard
by Hathatgirlnews
-

VIVANTの曲 スプリクト演奏
by puroteinsabu153
-

Angry Birds Classic: Test Piggies v3.0.0 β
by BFDIFollower
-

Pokemon X Undertale
by Gligar35
-

阿吽のビーツ【オリキャラPV】
by you-423
-

Magical Valley V1.2
by -ExtinctCoder-
-

Hill Climb Racing 2 remix
by baleinexplesive
-

TIS R3 Pentry (Duel with Vxlocity)
by deshmane
-

AY In Springy Of DOOM! (1)
by YarikMyProject
-

Satisfying patterns...
by minetester
-

Santa Tracker for Scratch 2.0
by Dom_Games
-

Talking Tom V3.6
by ooffffffffh
-

TACT-AIM LAB
by PAPA_YURI
-

Beat up neko noob 0.2 but I also beat it up aswell
by owenPlayerBoy1
-

Super Mario Bros Wonder Sprites SMB1 Style v2 animations
by beatroller
-

Player Gets Coral OS (FULL EDITON) remix
by Andemo
-

Sweet little minecraft bee
by audra_rules
-

Beat up Edward DLC Reimagined 7-3.2
by mugpanic