Use comments instead of constants
Use the P2D renderer
Add beam gradient
Rename Beam.tailLength field to Beam.length
Remove BEAM_TRANSPARENCY constant
Remove comment lines
Delete extraneous line
Fix beam tail transparency
Set maxLength and headTransparency as variables
Put common draw beam behaviour in Beam abstract class
Change constants' case