Differences From Artifact [9575362639]:
- File mods/vtlib/image.lua — part of check-in [a810a756ce] at 2024-05-01 13:46:45 on branch trunk — cleanups, fixes, begin canister rework, begin ecology (user: lexi, size: 3116) [annotate] [blame] [check-ins using]
To Artifact [33182947e9]:
- File mods/vtlib/image.lua — part of check-in [9d4ddb7701] at 2024-05-04 02:18:17 on branch trunk — fix colors, add grass (user: lexi, size: 3124) [annotate] [blame] [check-ins using]
82 82 color = lib.color(color) 83 83 end 84 84 color = color:to_hsl() 85 85 end 86 86 return image.change(self, { 87 87 fx = lib.tbl.append(self.fx, { 88 88 string.format('hsl:%s:%s:%s', 89 - color.hue, color.sat, color.lum) 89 + color.hue, color.sat*100, color.lum*100) 90 90 }) 91 91 }) 92 92 end; 93 93 94 94 rehue = function(self, hue) 95 95 return self.shift{hue=hue, sat=0, lum=0} 96 96 end;