OZONE Asylum
Forums
DHTML/Javascript
Perlin Noise + Canvas
This page's ID:
30982
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Bear in mind that all (canvas-based) images have 3 color channels: red, green, and blue. If you modify each of these color channels separately (like in that app you cite), you can get different color ratios. Bright Red + Bright Green = Bright Yellow, Dark Green + Bright Blue = Aqua, etc. Actually making my code above do that is a little trickier... I'd do it by creating three noise maps, one for each color channel, and then copy all of them onto the result canvas one at a time. Does that make sense? Would you like some example code? (From personal experience, it's generally much better to play around and figure out why you get the results you do, rather than seeing somebody else write the code, but sometimes you need a nudge in the right direction...)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »