Simulator

Calculate state while change the sliders' values.