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?

離散Sin波から六角形が見える謎(Hex Board)

Posted at

適当にsin波をプロットしていたら、カーボンナノチューブみたいな模様が出たので保存。
電子殻のようにも見える。
サイエンスの深淵が隠れてるはず。

image.png

HexLikeMistery.pde
size(1000,500);
background(0);

//六角形が見える(保存)
float y;
for(float t=0; t<1000; t++){
  y = sin(t+0);
  y = map(y,-1,1,0,500);
  circle(t,y,5);
}
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?