• Advertisement
  • entries
    437
  • comments
    1182
  • views
    764970

Color Rotation

Sign in to follow this  

893 views

Been doing more refactoring. Converting a lot of parameters to ScalarParameters, adding RGBA functionality back in, etc... Added a new type of RGBA function as well, which rotates a color in color-space around an axis, by a given angle. The axis coordinates and angle are all ScalarParameters, so they can either be constant or hooked up to noise functions. Here are a few images generated while testing the module:

rotmodule.png


Looks kind of pretty, but I honestly don't know how useful it would be.

Accidental Noise Library
Sign in to follow this  


5 Comments


Recommended Comments

Awesome.
I guess it's as useful as palette cycling - simple in itself, but great for adding a bit of interest. Especially as you allow synthesis functions as input.

Does it work just with the RGB colour space, or others too?

Have you thought about doing any other colour space transformations? No idea what use it'd be, but could be interesting!

Share this comment


Link to comment
Those look like they could make very good procedurally generated spell effects; the bottom right one in particular. If you can generate it animated, cut and instead of gradiating red-to-blue, do red-to-alpha, apply a mask over it to make it smoothly non-square, then you could have a very wickedly awesome lightning bolt/ball where every spell cast is different.

And the bottom-left could be poisonous gas, if you do fade-to-alpha. Animated fire could come of this also.

Share this comment


Link to comment
I agree with Servant here any one of those would be great for procedurally generated particle effects. Not just spells but even nebulae in space and such especially if you can animate it in some way.

Share this comment


Link to comment
I like the upper left one because it seems to use more of the spectrum than the others ;) I also think these could be used in some kind of forcefield or magical barrier rendering. Also agreeing with the above, if they can be animated it could lead to some really impressive effects.

Share this comment


Link to comment
That's the cool thing about how I'm building the library. Any of those effects can be animated in many different ways. Flexibility is my main goal, and pretty much every day I'm making new tweaks to how things work. Still trying to catch up on the docs, though. I [url="http://accidentalnoise.sourceforge.net/index.html"]recycled[/url] the old page I used to have up here on gamedev. I'm not much of a web guy, but it doesn't matter, I just need to get something usable. Working on the examples section today.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement