当前位置:网站首页>[programming problem] [scratch Level 2] March 2019 draw a square spiral
[programming problem] [scratch Level 2] March 2019 draw a square spiral
2022-07-07 23:56:00 【Youth programming competition communication】
Draw a square spiral
Square spiral is a common spiral shape , Its characteristic is that the length of continuous line segments increases uniformly , For example, the length of the first line segment is 5, The second length is 10, The third length is 15, And so on .
Now please write a program to realize the pattern effect in the figure below :
When the green flag is clicked , Starting from the center of the stage , Use the brush tool to draw a square spiral .
Starting point X、y The coordinates are 0, The length of the first side is 5, The length of each side in the future increases in turn 5, Continuous painting 50 Such an edge .
1. Design ideas and implementation
(1) Role analysis
- role : According to the title , Keep the kitten role unchanged .
(2) Background analysis
- background : Default colorless background .
(3) Introduction to the building blocks used
a. Sports
- The character moves the specified number of steps , A positive number is forward , Negative numbers are backward .
- Rotate the character to the left by the specified angle
边栏推荐
- Come on, brother
- C language learning
- Problems faced when connecting to sqlserver after downloading (I)
- 2022.7.7-----leetcode.648
- 全自动化处理每月缺卡数据,输出缺卡人员信息
- Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
- Pigsty:开箱即用的数据库发行版
- Gorm Association summary
- 35岁那年,我做了一个面临失业的决定
- 【编程题】【Scratch二级】2019.03 绘制方形螺旋
猜你喜欢
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
Apng2gif solutions to various problems
Introduction to programming hardware
PostGIS learning
Automated testing: robot framework is a practical skill that 90% of people want to know
Rectification characteristics of fast recovery diode
Using Google test in QT
ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
受限线性表
Preliminary test of optical flow sensor: gl9306
随机推荐
串联二极管,提高耐压
Go time package common functions
Take you hand in hand to build feign with idea
正畸注意事项(持续更新中)
limit 与offset的用法(转载)
Chisel tutorial - 04 Control flow in chisel
Laser slam learning (2d/3d, partial practice)
80%的人答错,苹果logo上的叶子到底朝左还是朝右?
【编程题】【Scratch二级】2019.03 垃圾分类
One click free translation of more than 300 pages of PDF documents
codeforces每日5题(均1500)-第八天
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
Jisuan Ke - t3104
SQL uses the in keyword to query multiple fields
DataGuard active / standby cleanup archive settings
10 schemes to ensure interface data security
Rectification characteristics of fast recovery diode
ping报错:未知的名称或服务
webflux - webclient Connect reset by peer Error
@Detailed introduction of configuration annotation