Construct your own electromotor!

Set parameters and press "Construct". After few seconds server passes rendered image of constructed electric motor. Pay attention and explore what undocumented parameters do!
DEDICATED TO THE YEAR OF NIKOLA TESLA.

Parameter Stator Rotor
Rotor angle
(0-360)
N/A
N of coil's
windings
# of poles
Stator Rcyl
R1out * Rcyl
R1 * Rcyl
R2 * R1
R3 * R1
pole.A * R1 ( auto)
pole.a * A
coil.dy * R1 ( auto)
coil.length * R1 ( auto)
Rotor R * Rcyl
shaft Rout * R
shaft Rin * Rout
pole.A * R ( auto)
pole.a * A
pole.b * R
coil.dy * R ( auto)
coil.length * b ( auto)
Draw magnetic field
Adding field vectors
Draw south poles
Render options
Render width
Render height
Antialiasing
Debug
Camera position