📄 animatecustom.js
字号:
isc.Img.create({ src:"other/earth.png", width:48, height:48, top:0, left:100, animateOrbit : function () { isc.Animation.registerAnimation(this.animateOrbitStep, 2000, null, this); }, animateOrbitStep : function (ratio) { var angle = (Math.PI*2)*ratio-(Math.PI/2); this.moveTo(Math.cos(angle)*100+100, Math.sin(angle)*100+100); }, click: "this.animateOrbit()"})
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -