text: (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{649:function(n,e,t){"use strict";t.r(e),e.default="const {Scene, Sprite} = spritejs;\n\nconst container = document.querySelector('#stage');\nconst scene = new Scene({container, width: 1540, height: 400, mode: 'stickyTop'});\n\nconst layer = scene.layer();\n\nconst robot = new Sprite('https://p5.ssl.qhimg.com/t01c33383c0e168c3c4.png');\n\nrobot.attr({\n  anchor: [0, 0.5],\n  pos: [0, 0],\n  scale: 0.5,\n});\n\nrobot.animate([\n  {pos: [0, 0]},\n  {pos: [0, 150]},\n  {pos: [1350, 150]},\n  {pos: [1350, 0]},\n], {\n  duration: 5000,\n  iterations: Infinity,\n  direction: 'alternate',\n});\n\nlayer.append(robot);"}}]);