首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > ohw

ohw

  • 资源大小:0.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

1. FL A stupid language interpreter designed by some stupid man for drawing function lines. The language has only four statements without any variable or function: rot is theta; scale is (x,y); origin is (x,y); for t from a to b step c draw (x, y); -- this is comment // comment too Example: // first ,斜线一条 origin is (100-10*3+2,sqrt(255)+3/1); scale is (1,1); rot is 0; for t from 0 to 200 step 1 draw (t + 1, t - 1); -- second, 同心圆 origin is (200,200); rot is 0; scale is(50,50); for t from 0 to 2*pi step pi/1000 draw (cos(t), sin(t)); scale is (100,100); for t from 0 to 2*pi step pi/2000 draw(cos(t),sin(t)); -- third,坐标曲线 rot is 0; origin is(50,40*(15-sqrt(25))); scale is (2,1); //坐标
VIP VIP
0.176002s