Skip to content

five-on-it / apps/client/src/renderer/lasers-view / laserIntensity

Function: laserIntensity() ​

laserIntensity(ageMs): number

Defined in: apps/client/src/renderer/lasers-view.ts:52

How bright a laser is ageMs after it appeared: from a third at once to all of it at the end of its hold, then again from a third for a laser held on past its round (a marksman painting the player once more).

Parameters ​

ageMs ​

number

Returns ​

number