A paintball gun control system according to this invention includes an electronic circuit board configured to receive a sensor signal corresponding to a measured value of a paintball gun characteristic. The sensor detects the opening degree of the valve based on a change of density of the magnetic flux passing through the element. A programmable diffractive element such as an SLM represents the sequence of kinoforns allowing reproduction of the image using a suitable illumination beam.