摩登犀牛

标题: 名画干扰随机泰森[转贴] [打印本页]

作者: modern    时间: 2012-10-18 07:24
标题: 名画干扰随机泰森[转贴]

This was my old plan to work with images in Grasshopper. Certainly that was not the result I expected, but this could be counted as a starting point. After seeing beautiful circle packing compositions here, I decided to program Grasshopper, so that it’ll create a subdivision, based on an image data.

This was the initial version, just subdividing a plane with voronoi points and visualizing it according to image’s color values of proper UV coordinates: [GHX: 0.9.0014] There is no interpretation on the points, they are just “random”. (Although I’m looking at the “random” computer functions differently after I studied Mandelbrot here), we may say, yes they are random and they are out of my intention to associate them to the content of the image.

The second challenge was to understand if Grasshopper can interpret not only the colors, but the actual context of the image. In this example, I tried to tell GH that, density of voronoi points should be based on the image contrast. Therefore, this definition checks the closest 5 points for each one, getting their average hue value, and sorting all points based on the contrast fof surrounding points. By selecting a % of these points and performing a voronoi stuff, this definition creates subdivisions, somehow related with the contrast within the image. The results are as expected but still interesting. At first, overall look of the image is identified, then eventually, more detailed areas are processed. Here are two experiments with famous paintings:




This is the latest definition if you want to try; [GHX: 0.9.0014]




来源 http://www.designcoding.net/image-contrast/



作者: leo    时间: 2012-10-18 08:40
好东西,顶起来,支持M大!!
作者: fengyun319    时间: 2012-10-18 09:12
这个算法很神奇啊!
作者: emmy╰★...    时间: 2012-10-18 19:09
无语了,太强了
作者: hg612    时间: 2013-6-23 02:57
真是难得给力的帖子啊。
作者: yang904080060    时间: 2013-7-7 16:47
强烈支持楼主ing……
作者: DesEmon    时间: 2013-9-11 11:32
强烈支持楼主ing……
作者: 水君    时间: 2014-5-8 11:13
那个preview 是那个运算器啊 在那里找出来的啊 M大
作者: 401546750    时间: 2014-11-14 13:14
这个好列害呀。
作者: 黑痴    时间: 2014-12-26 21:51
太帅了  
作者: agrimetalhumerk    时间: 2015-2-12 05:57
照着电池也不会啊,需要script么?
作者: 氺煮铜豆    时间: 2015-2-24 17:57
每天泡泡坛子,涨姿势,一直很好奇如何用GH处理彩图,今天学习了
作者: zhengyang0928    时间: 2018-5-23 14:36
求问:不知道那个ITEM是哪个电池 ?list' item的话输出端是I不是E  。tree item的话 输入端又不符合, 还有相乘和相除的两个电池不知道值是多少。

QQ截图20180523143407.png (276.1 KB, 下载次数: 40)

QQ截图20180523143407.png





欢迎光临 摩登犀牛 (http://rhino3d.us/) Powered by Discuz! X3.2