// fork from tw:ina_ani:シンプル scale(0.1) fs("black") text("pos:" + floor(mx*100) + "," + floor(my*100)) shift(0,2) text('atan2: ' + floor(atan2(my,mx)*100)) fig() xy(0,0) xy(mx, my) shift(mx,my) scale(0.1) rect()