How to create bullet tracers!

,

Hello! I would like to know how you came up with the tracer’s CurveSize1 and TextureLength formulas.