Rewrote renderCosPlasma using ColorRGBAf idiom