摘要: 1 import stddraw 2 3 stddraw.setXscale(-1, 1) 4 stddraw.setYscale(-1, 1) 5 6 DT = 20.0 7 RADIUS = 0.05 8 rx = 0.480 9 ry = 0.860 10 vx = 0.015 11 vy = 0.023 12 while True: 13 #Update b... 阅读全文
posted @ 2017-08-03 23:25 跳过了E 阅读(346) 评论(0) 推荐(0)
摘要: 1 import stddraw 2 import stdio 3 # Read and set the x- and y- scales 4 x0 = stdio.readFloat() 5 y0 = stdio.readFloat() 6 x1 = stdio.readFloat() 7 y1 = stdio.readFloat() 8 stddraw.setXscale(x... 阅读全文
posted @ 2017-08-03 13:50 跳过了E 阅读(341) 评论(0) 推荐(0)