Skip to main content

orb_bloom_opacity

Function orb_bloom_opacity 

Source
pub fn orb_bloom_opacity(phase: f32) -> f32
Expand description

A bloom ring’s opacity: full as it leaves the centre, gone by the edge — squared, so it holds its brightness through the middle of the travel and then goes quickly, which is what keeps the ring from looking like a dissolving circle.