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

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


I published a game!


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

Login to post a reply

Server time is: 2024-02-29 21:59:25
Your offset time is: 2024-02-29 21:59:25