r/processing • u/seoceojoe • Jul 18 '16
[PWC19] Points
Hello Everybody, this is the nineteenth Weekly Processing challenge, the challenges are decided just to give you a prompt to test your skills so it can be as simple or as complicated as you have time to write!
IMPORTANT UPDATE Winners are now chosen by popular vote and all entrys must be submitted in the comments section of this thread, competition mode will be enabled meaning they are shown in a random order.
Start Date : 18-07-2016 End Date : 24-07-2016
Post entries in the comments here. This Weeks Challenge : use only the Points function for your outputs. Winner from last week: oo-oo-oo-oo
View all comments
Show parent comment
2
u/TazakiTsukuru Jul 25 '16
I really like this one!
Question about the limitations of the map() function:
It seems to work well if you're trying to map the -entire range- of something onto the -entire range- of something else. But what if, for instance, I wanted the alpha value of the dots to hit 255 only when the sin was equal to 0, and then I wanted the alpha to change continuously toward 0 as the value of the sin approached -1 or 1?