canvas行星运动轨迹动画特效

来源:https://www.sucaihuo.com/js/1601.html 2017-03-31 15:56浏览(2536) 收藏

这是一款3D球运动轨迹特效不兼容部分浏览器效果不错,喜欢特效的朋友可以下载收藏。
canvas行星运动轨迹动画特效
分类:html5 > canvas 难易:
查看演示 下载资源 下载积分: 20 积分
window.onload = function () {
    //Create a new instance of the application
    const application = new Application();

    //Initialize all planets for the first time
    application.solarSystem.initializePlanets(application.center);

    //Initialize the dat.GUI object and assign the variables that the user can adjust
    const gui = new dat.GUI();
    gui.add(settings, 'spawnMass', 5, 200);
    gui.add(settings, 'amountOfPredictions', 50, 500);
    gui.add(settings, 'pauseWhileAiming');
    gui.add(application, 'reset');
    gui.close();

    //Start the initial loop function for the first time
    application.loop();
};
标签: canvas3d
评论0
头像

系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791

1 2