robotSim.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:sc8pr 作者: dmaccarthy 项目源码 文件源码
def setup(self):
        pl = Plot(self.size, [-4, 4, -1.5, 1.5]).config(bg="white")
        pl.series(sin, param=[-pi, pi, 2 * self.width - 1], marker=("blue", 4))
        self.bg = pl.snapshot()
        robo = Robot(["#ff5050", "#ffd428"])
        self["Traci"] = self.bindBrain(robo).config(width=60, pos=self.center)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号