当前位置:网站首页>[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
边栏推荐
- Les mots ont été écrits, la fonction est vraiment puissante!
- Restricted linear table
- P1055 [noip2008 popularization group] ISBN number
- Preliminary test of optical flow sensor: gl9306
- Jisuan Ke - t3104
- 95. (cesium chapter) cesium dynamic monomer-3d building (building)
- Rock-paper-scissors
- Rectification characteristics of fast recovery diode
- One of the anti climbing methods
- May day d-light
猜你喜欢
激光slam学习(2D/3D、偏实践)
Apng2gif solutions to various problems
10 schemes to ensure interface data security
FFA and ICGA angiography
Problems faced when connecting to sqlserver after downloading (I)
UIC564-2 附录4 –阻燃防火测试:火焰的扩散
MP4文件格式解析之结合实例分析
【编程题】【Scratch二级】2019.03 垃圾分类
Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)
Pypharm uses, and the third-party library has errors due to version problems
随机推荐
解析token的网址
Install sqlserver2019
gorm 关联关系小结
Go time package common functions
Is it safe for tongdaxin to buy funds?
About the difference between ch32 library function and STM32 library function
【编程题】【Scratch二级】2019.03 绘制方形螺旋
Magic fast power
codeforces每日5题(均1500)-第八天
P1055 [noip2008 popularization group] ISBN number
Data analysis series 3 σ Rule / eliminate outliers according to laida criterion
Pigsty: out of the box database distribution
P5594 [xr-4] simulation match
Redis caching tool class, worth owning~
C - Fibonacci sequence again
At the age of 35, I made a decision to face unemployment
LinkedBlockingQueue源码分析-新增和删除
Robomaster visual tutorial (1) camera
Les mots ont été écrits, la fonction est vraiment puissante!
二叉排序树【BST】——创建、查找、删除、输出