How to switch from normal mode to smooth mode?

I meant code without React nor Ohif. Something in 100% VTK.js (with CodeSandBox for example).