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
12
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ N_America/ USA/ CA/ South
Posted: 5th Dec 2014 07:50 Edited at: 10th Apr 2015 07:21
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:





On Steam!
MrValentine
AGK Backer
7
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: Playing
Posted: 5th Dec 2014 14:43
[DBPRO]

Login to post a reply

Server time is: 2018-11-20 19:18:35
Your offset time is: 2018-11-20 19:18:35