å æ¥"ããã¹ã³ã¢ãªã³ã°ã®çµæããããããè¦ããããªãããª?"ã£ã¦ç¤¾é·ã¨ãã¢ããæã«è¨ããã¦ããªã¬ãªã¬å¤æã§è²ã»ãµã¤ãºã®ã¿ã°ã¯ã©ã¦ãä½ã£ããè²ã®æ¹ã ãéæ»å´ä¸å°ãã£ããè¶ ããããã ã¨è¨ã訳ã§ã¡ãã£ã¨åå¼·ãã¦ãæ¸ãã¦ã¿ãã ä»ä¸é©å½ãªarticleãè¦ã¤ãããªãã£ãã®ã§jQueryã®HeatColor pluginã®ä¸èº«ããã®ã¾ãã¾å®è£ ã #!/opt/local/bin/ruby require 'RMagick' class Float HEAT_COLOR_SCALE = 128 HEAT_COLOR_PERIOD = 2 * Math::PI def heat_color(min, max) position = (self - min) / (max - min) shft = 0.5 * position + 1.7 * (1 - position) x = shf
{{#tags}}- {{label}}
{{/tags}}