0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

スミレ畑、やってみた。 その24

Posted at

概要

日本語プログラミング言語、スミレ畑、見つけたので、やってみた。
練習問題やってみた。

練習問題

かめで、SIN波を描け。

写真

image.png

サンプルコード

キャンバスにカメを作って、かめとする
かめの線色は「青色」
かめの太さは5
初期位置は{30,130}
かめの位置は、初期位置
角度は0
角度が360未満の間、繰り返す
	横は、3 × 角度 + 初期位置(1)
	縦は、100 × サイン(4 × 角度度)+ 初期位置(2)
	かめの位置は、{横、縦}
	かめを3だけ進める
	角度は、角度 + 2
	かめを2度回転する
そして

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?