![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
脑洞专区
地狱恶狼
这个作者很懒,什么都没留下…
展开
-
数学公式生成的美图
玩OpenGL无意间发现一张公式生成的图片,被惊艳到了。 今早把代码翻译成了python。 import PIL.Image as I from math import sin, cos W, H, R = 500, 500, 10 img = I.new('RGBA', (W, H), (255, 255, 255, 255)) x = -R while x < R: ...原创 2019-12-26 11:37:37 · 1050 阅读 · 0 评论 -
随机之美
python代码 生成一颗独一无二的‘眼睛’ ----------------------------------------------------------------- #!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as mp im...原创 2018-04-12 16:04:04 · 251 阅读 · 0 评论