会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
养肥胖虎
博客园
首页
新随笔
联系
订阅
管理
2023年4月9日
第136篇:动画API:setInterval 与 requestAnimationFrame的区别
摘要: 好家伙,书接上文 function animate() { //请求-动画-框架 requestAnimationFrame( animate ); //改变正方体在场景中的位置,让正方体动起来 cube.rotation.x += 0.01; cube.rotation.y += 0.01; re
阅读全文
posted @ 2023-04-09 19:46 养肥胖虎
阅读(101)
评论(0)
推荐(0)
编辑
公告