{"type":"rich","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Erlang\u306e20\u7ae0\u306blists:map\u3092\u7f6e\u304d\u63db\u3048\u308b\u3060\u3051\u3067\u4e26\u5217\u5316\u3067\u304d\u307e\u3059\u3088\u3001 \u3068\u66f8\u3044\u3066\u3042\u3063\u305f\u306e\u3067\u3084\u3063\u3066\u307f\u305f\u3002\u7f6e\u304d\u63db\u3048\u305f\u306e\u306f\u3053\u306e\u30ec\u30a4\u3092\u98db\u3070\u3059\u90e8\u5206\u3002 % \u30aa\u30fc\u30d0\u30fc\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0(N x N\u500d\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3057\u3066\u5e73\u5747\u3059\u308b) sampling({PIXEL_X, PIXEL_Y}, Scene, N, GET_RAY)-> average_color( % lists:map(fun({X, Y})->ray_trace(GET_RAY(X, Y), Scene) end, % \u2193\u4e26\u5217\u7248 lib_misc:pmap(fun({X, Y})->ray_trace(GET_RAY(X, Y), S\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/ousttrue/","height":"190","image_url":null,"categories":["Erlang"],"blog_url":"https://ousttrue.hatenadiary.org/","title":"\u30ec\u30a4\u30c8\u30ec\u30fc\u30b9\u30d9\u30f3\u30c1\u306e\u4e26\u5217\u30c6\u30b9\u30c8","author_name":"ousttrue","url":"https://ousttrue.hatenadiary.org/entry/20081025/1224963068","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"\u4e09\u6b21\u5143\u65e5\u8a8c","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fousttrue.hatenadiary.org%2Fentry%2F20081025%2F1224963068\" title=\"\u30ec\u30a4\u30c8\u30ec\u30fc\u30b9\u30d9\u30f3\u30c1\u306e\u4e26\u5217\u30c6\u30b9\u30c8 - \u4e09\u6b21\u5143\u65e5\u8a8c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-10-25 04:31:08","version":"1.0"}