最近关于编程的各种等级考试层出不穷,有计算机学会的,有电子学会的,有工信部(蓝桥杯)的,有青少年宫协会(中少童创)的,有软件行业协会(编程猫)的,有科促会的……好不热闹!我们继续谢声涛老师三言学堂微信群里的编程绘图等级考试40关吧!
上一篇内容我们已经绘制到了第33个图形,接下来继续使用云峰老师的源码来绘制34到40图。
第34个图形如下图。 
它的程序如下图,因为之前没和绘制过和它类似的图形,所以需要重新绘制。通过观察,它是由四个类似的图形组成,因此可以只需要按顺序绘制一个,然后循环4次就可以了。 
第35个图形如下图,它是由12个正六边形也就是图11组成的。 
它的程序如下图,先绘制图11,然后旋转一定角度(30),如此重复12次即可。 
第36个图形如下图,它是由8个图14组成的。 
它的程序如下图,先绘制图14,然后旋转一定角度(45),如此重复8次即可。 
第37个图形如下图,它是由4个图3组成的。 
它的程序如下图,先绘制图3,然后移动并旋转,如此重复4次即可。 
第38个图形如下图,它是由9个正方形也就是图1旋转组成的。 
它的程序如下图,先绘制图1,然后移动并旋转,如此重复9次即可。 
第39个图形如下图。 
它的程序如下图,先由2个图4组成一个类似双线正方向,再将这个图形绘制三次。 
第40个图形如下图,它是由8个图14组成的。 
它的程序如下图,先绘制图14,然后移动并旋转,如此重复8次即可。 
至此,我们通过5期的内容,终于完成了scratch等级考试40图的绘制。绘制这40个图形的方法有很多种,以上方法仅供参考。通过这40图的绘制,大家也发现了,任何复杂的图形都是由简单的图形组合而成,有规律的图形我们在绘制时要充分利用其规律。本文至此,越发佩服云峰老师的观察力和思维能力。--end--
后记,小编朋友公司研发了一个游戏化的少儿编程在线课程(5-12岁),游戏化教学结合scratch(一款在线少儿编程工具,类似乐高的积木拼搭),我家娃娃学了几次课,非常喜欢(超预期),16次课才200多块钱,对锻炼孩子的思维能力和动手动力很有帮助。
声明:本文章由爬虫自动处理和转载作为教育分享用途,原作者可通过邮件及时和我们联系处理:freemanzk@qq.com
声明:转载此文是出于传递更多信息之目的。若有来源标注错误或侵犯了您的合法权益,请作者持权属证明与本网联系,我们将及时更正、删除,谢谢。