pt.py 文件源码

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

项目:micropython-tft-gui 作者: peterhinch 项目源码 文件源码
def populate(self, curve, rot):
        def f(theta):
            return rect(1.15*sin(5 * theta), theta)*rot # complex
        nmax = 150
        for n in range(nmax + 1):
            theta = 2 * pi * n / nmax
            curve.point(f(theta))

# Simple Cartesian plot with asymmetric axis and two curves.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号