{"title":"\u3010\u30b7\u30a7\u30fc\u30c0\u30fc\u3011\u30d0\u30a4\u30ea\u30cb\u30a2\u88dc\u9593\u30674\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b","url":"https://r-ngtm.hatenablog.com/entry/2021/01/16/154813","provider_url":"https://hatena.blog","blog_url":"https://r-ngtm.hatenablog.com/","author_name":"r-ngtm","blog_title":"rn.log","published":"2021-01-16 15:48:13","type":"rich","height":"190","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fr-ngtm.hatenablog.com%2Fentry%2F2021%2F01%2F16%2F154813\" title=\"\u3010\u30b7\u30a7\u30fc\u30c0\u30fc\u3011\u30d0\u30a4\u30ea\u30cb\u30a2\u88dc\u9593\u30674\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b - rn.log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/r/r-ngtm/20210116/20210116142756.png","description":"\u306f\u3058\u3081\u306b \u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3044\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a4\u8272\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 4\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3 2\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3 x\u5ea7\u6a19\u3092\u4f7f\u3063\u3066\u4e8c\u3064\u306e\u8272\u3092\u7dda\u5f62\u88dc\u9593\u3057\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4e8c\u8272\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 2\u3064\u306e\u8272\u3092\u7dda\u5f62\u88dc\u9593vec3 c = mix(GREEN, BLUE, p.x); // x\u5ea7\u6a19\u3067 \u7dd1\u3068\u9752\u3092\u7dda\u5f62\u88dc\u9593 4\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3 x, y\u5ea7\u6a19\u3092\u4f7f\u3063\u3066\uff14\u8272\u3092\u88dc\u5b8c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\uff14\u8272\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 x, y \u30674\u3064\u306e\u8272\u3092\u30d6\u30ec\u30f3\u30c9vec3 tc = mix(YELLOW, RED, p.x); // top : \u9ec4\u3068\u8d64\u306e\u7dda\u5f62\u88dc\u9593 (\u4e0a\u5074\u306e\u8272) \u2026","author_url":"https://blog.hatena.ne.jp/r-ngtm/","version":"1.0","provider_name":"Hatena Blog"}