The project is about to Modelise and develop a simulation of a lotery drawing machine.
The simulation will receive parameters and different commands from a client PC through IP or file.
The following commands should be develop for the animation:
S0- Initialise (ball colors, NbBalls): display the drawing machine with the balls waiting in their compartment.
S1- Release Balls: Open the compartment and introduce the balls into the drawing machine
S2-Move the compartment down.
S3- Mix the balls (Blow speed = slow): Mix the balls inside the drawing machine
S4- Mix the balls fast. Preparation to capture the ball.
S5- Capture a ball(Ball number): get the ball in the ring capture compartment.
S6- Mix balls slow speed.
S6- Turn the ring (degrees): Turn the ring that capture the ball with a degree (usually 90 or 180)
S7- Mix fast speed.
S8- Capture ball 2 in the ring. and mix slow
S9- Turn 90. Release the Ball1 when the ring is made 180 degree.
S10- Flush the captured balls into the results compartment below the drawing machine sphere.
Repeat the operation mix slow-capturing for a specified number of balls.
S11- At the end, the display should focalise on the set of balls viewing the full results: the winning numbers should be visible to the display (in this case, we have an Extra ball).
The pictures of how the simulation should look like are attach.