Lab3

动画和交互

Posted by WK on 2021-10-14
Estimated Reading Time 1 Minutes
Words 196 In Total
Viewed Times

实验目的

通过完成实验,熟悉WebGL动画实现的机制,了解基本的交互工具、交互方法及其应用,能够构建基本的交互式WebGL程序,绘制相应图案

实验任务

任务a

复刻旋转的正方形示例,可选择包括正方形在内的各种形状,可自选实现通过两种交互控制方式实现交互控制,要求其中之一为页面控件,如按钮、选择菜单等,另一种为鼠标或键盘按键事件,实现效果见本章各demo

任务b

还记得自己的那幅画吗?请用代码忠实重现此画,并将其转换成一段动画。ps(树叶太难画了,我尽力了(才怪)。。。。。。)


If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !