美文网首页
canvas_turmite画一幅泥灰岩,R语言aRtsy包生成

canvas_turmite画一幅泥灰岩,R语言aRtsy包生成

作者: youmigo | 来源:发表于2021-09-28 23:58 被阅读0次

canvas_turmite画一幅泥灰岩,R语言aRtsy包生成艺术


canvas_turmite画一幅泥灰岩2.jpg
canvas_turmite画一幅泥灰岩1.jpg canvas_turmite画一幅泥灰岩4.jpg
# Thu Sep 02 01:38:20 2021 edit
# 字符编码:UTF-8
# R 版本:R 4.1.1 x64 for window 11
# cgh163email@163.com
# 个人笔记不负责任,拎了个梨🍐🍈
#.rs.restartR()

rm(list = ls());gc()
library(aRtsy)#gg生成艺术·
?   canvas_turmite  #   画一幅泥灰岩。
set.seed(1)
canvas_turmite(color = "#000000", background = "#fafafa")
# Thu Sep 02 20:10:50 2021 --
set.seed(NULL)
canvas_turmite(color = '#FFCCCC'
               , background = '#FF99CC',
               p = 0.05,
               iterations = 100000, #  turmite的迭代次数。
               width = 150, height = 150)

ggplot2::ggsave(filename = 'canvas_turmite画一幅泥灰岩4.jpg')
# Thu Sep 02 01:51:50 2021 --

相关文章

网友评论

      本文标题:canvas_turmite画一幅泥灰岩,R语言aRtsy包生成

      本文链接:https://www.haomeiwen.com/subject/fcjhwltx.html