Just for viewing purposes. You can store and calculate this formula only inside the application.
energy of rotation
E = (1/2) * J * ω^2 /* The moment of inertia J of a cylinder rotating around his axis is J = m/2 * r^2 , where m means the mass and r the radius of the cylinder. So the rotational energy of a cylinder will be : */ ErotCyl = m/4 * (r*ω)^2
The kinetic energy of a rotating mass is proportional to its moment of inertia relative to the axis of rotation. ω stands for the angular velocity of the rotation.