  <button onclick="start()">Start</button>
            <button onclick="add()">test</button>
        </tr>
    </table>
    <script>
        function stop(){
            smoothie.stop();
        }
        function start(){
             smoothie.start();
        }
        var pos =new Date().getTime();
        var t = 1000;
        function add(){
           document.getElementById("mycanvas").width = document.getElementById("mycanvas").parentElement.clientWidth
        }
        console.log("init");
       