当前位置:网站首页>[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
边栏推荐
- 二叉排序树【BST】——创建、查找、删除、输出
- Postgres timestamp to human eye time string or millisecond value
- Reverse output three digit and arithmetic sequence
- Data analysis series 3 σ Rule / eliminate outliers according to laida criterion
- Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
- ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
- Teach you to make a custom form label by hand
- Chisel tutorial - 01 Introduction to Scala
- One of the anti climbing methods
- P1308 [noip2011 popularity group] count the number of words
猜你喜欢

【编程题】【Scratch二级】2019.12 飞翔的小鸟

Preliminary test of optical flow sensor: gl9306

Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)

Learn about scratch

Introduction to programming hardware

数据湖(十五):Spark与Iceberg整合写操作

Ping error: unknown name or service

【编程题】【Scratch二级】2019.03 垃圾分类

C - linear table

Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
随机推荐
Pycharm basic settings latest version 2022
Redis caching tool class, worth owning~
C语言学习
数据库查询——第几高的数据?
Laser slam learning (2d/3d, partial practice)
Go time package common functions
Teach you to make a custom form label by hand
Resolve the URL of token
【编程题】【Scratch二级】2019.12 绘制十个正方形
aws-aws help报错
The function is really powerful!
Solutions to problems in sqlserver deleting data in tables
面试题详解:用Redis实现分布式锁的血泪史
用語雀寫文章了,功能真心强大!
webflux - webclient Connect reset by peer Error
【编程题】【Scratch二级】2019.03 绘制方形螺旋
HDU - 1260 Tickets(线性DP)
May day C - most
蓝桥ROS中使用fishros一键安装
AWS AWS help error