Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / Winter-ify an image

Author
Message
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 5th Dec 2014 07:50 Edited at: 23rd May 2020 18:11
This code golf challenge explains a cool algorithm for making an image look "icy" and "wintery". I'm working on entering it, but it requires a Manhattan-distance blur which is slow as molasses. This version uses a box blur which is quite speedy and still produces the same effect.

The DBPro code will prompt for an image filename, and then the blur radius (larger blur radii will be exponentially slower. 8 is a good value).

EDIT: Requires Matrix1 for min and max.



Example: EDIT: see attachments

</div>

I published a game!

Attachments

Login to view attachments
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 5th Dec 2014 14:43
[DBPRO]

Login to post a reply

Server time is: 2024-11-21 08:37:09
Your offset time is: 2024-11-21 08:37:09