サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
体力トレーニング
fronkonstin.com
Now that Twitter allows 280 characters, the code of some drawings I have made can fit in a tweet. In this post I have compiled a few of them. The first one is a cardioid inspired in string art (more info here): library(ggplot2) n=300 t1=1:n t0=seq(3,2*n+1,2)%%n t2=t0+(t0==0)*n df=data.frame(x=cos((t1-1)*2*pi/n), y=sin((t1-1)*2*pi/n), x2=cos((t2-1)*2*pi/n), y2=sin((t2-1)*2*pi/n)) ggplot(df,aes(x,y,
このページを最初にブックマークしてみませんか?
『Fronkonstin』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く