Function glow_ring

Source
pub fn glow_ring(center: Vec2, radius: f32, width: f32, color: Color)
Expand description

Additive soft glow ring (shockwaves, selection halos, portals) of total width centered on radius, brightest on the center line and fading as (1 - |offset|)² toward both edges. Emits at most 6,912 vertices through crate::effects::draw_triangles; a 16-unit-wide ring uses 4 bands.

use ferravex_render::{Color, vec2, shapes};
shapes::glow_ring(vec2(64., 64.), 30., 12., Color::new(0.4, 0.8, 1., 0.9));