NCF参数化建筑论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 29822|回复: 30
打印 上一主题 下一主题

[网络资源] DLA算法

[复制链接]
跳转到指定楼层
1m
发表于 2011-7-29 12:09:51 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
Diffusion-Limited Aggregation (DLA)
1.Establish a large circle
2.Launch a random walk from the large circle at a random angle (uniform distribution)
3.At each step of the random walk check whether the random walker is near the aggregate. If so, attach the
last point of the walk the aggregate on the lattice.
4.At each step of the random walk check that the random walk has not gone beyond the large circle. If so,
stop the walk.
5.Repeat the same procedure of launching a new random walk in the large circle until the maximum number
of walks has been reached or the aggregate has reached the specified size.


附件为SUPERMANOEUVRE和kokkugia的程序。
以下为AA的一个workshop
rhinoscript dla.rvb (4.35 KB, 下载次数: 55, 售价: 5 lux照度)

评分

参与人数 2强度 +3 照度 +51 收起 理由
ememery + 3 谢谢提供代码~
没碗 + 3 + 48

查看全部评分

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享

小黑屋|手机版|NCF参数化建筑论坛 ( 浙ICP备2020044100号-2 )    辽公网安备21021102000973号

GMT+8, 2024-6-8 11:18 , Processed in 0.061978 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表