'Tis the season to spice up your derma!

Some developers don’t have the knowledge on how to add snow effects to their panels, others know how to but are too lazy. Lets show players how cool derma is this holiday!

Here’s a function you can use on your derma frames or panels to add snow with ease! Example use:
[lua]
DFrame:SetFestive() – draws snow
– or
DFrame:SetFestive(x, y, width, height) – draws snow at x, y and is set to the width/height given (relative to panel)
[/lua]

The snow can be deactivated by players with the simple convar change “enable_snoweffect 0”.

Here’s what the snow looks like: (ignore the right side of the panel)

GitHub:
https://github.com/moat7/moat-snowpaneleffect

Happy Holidays!

Best thing since that library for drawing rainbows. 10 / 10.