Changes

Jump to: navigation, search

User:Dhhodgin

163 bytes added, 17:53, 13 December 2009
Code Blocks
== Code Blocks ==
Here is a list of code blocks I have written for the processing.js project
0.3 - wip: blendColor(), blend(), copy(), filter=== copy() ===coming soon=== blend() ===coming soon=== blend()helper functions===intersect, filter_new_scanline, filter_bilinear coming soon
=== CONSTANTS ADDED ===
p.ALPHA_MASK = 0xff000000;
return color;
}
=== blendColor() helper functions ===
// helper functions for internal blending modes
// convert rgba color strings to integer
return (n < 0) ? 0 : ((n > 255) ? 255 : n);
}
=== blendColor() blending modes ===
// blending modes
p.modes = {
1
edit

Navigation menu