[chaoscope] Re: Creating light/plasma patterns on a white background- a solution

  • From: Christian Weiß <cweiss@xxxxxxxxxx>
  • To: chaoscope@xxxxxxxxxxxxx
  • Date: Sun, 20 May 2007 17:49:03 +0200

Hi Sham,

thank you for sharing this information.
It sounds easy but IMHO wouldn't it be easier to work with a transparent background?

You can then set the background color in your grafic application to any color you want or you could create a nice textured background.
Here is a little tutorial I've written some time ago, describing this.
http://www.3dspots.de/tutorials/other/tut_show_nf.php?cat=chaoscope&subcat=transparent_bg&lang=EN


Maybe you can also work with a solid render type. This allows you also to set the background color and some other ones.

Regards

Christian


Haven't looked at all the posts following my original one, and don't know if a solution to the 'white background' issue has been stated by someone else, but...

Here's how I create a pattern that is identical to the default, but with a white background instead of black (this method is useful for those who don't want to mess about in photoshop as the only thing you have to do is invert the bitmap, no fancy messing about with layers or color pickers required, honest!).

Open chaoscope/speed.map in Notepad++ (or Notepad if you're still not taking the hint!). You will see;

255   0   0         default spectrum gradient
255 255   0
 0 255   0
 0 255 255
 0   0 255
255   0 255
255   0   0

Change all the 255s to 0 and all the 0s to 255. This gives you an inverted default map. Save this file as chaoscope/maps/speed_inverted.map

Alternatively, just copy-paste the file below into a new file called choscope/maps/speed_inverted.map;

0   255 255         default spectrum gradient inverted
0   0   255
255 0   255
255 0   0
255 255 0
0   255 0
0   255 255

Render your pattern as before, using the default gradient. This will produce patterns on black backgrounds (i.e. nothing has changed yet)

When you find a pattern you like, but want it on a white background, do this;

Right-click on the gradient in chaoscope and select Open...

Load speed_inverted.map. The colors will all go odd, and the pattern will most likely look awful (usually, it goes too dark).

Render and then save the render as an image (File > Save Image as...). Your colors will still look awful.

Load the image in photoshop.

Select Image > Adjustments > Invert.

you now have a pattern on a white background. The colors should now match the original, and, as expected, the image will;
- look much more vibrant (white background really brings up the colors)
- be more useful for the graphic designers out there (the images become printable on white paper) - be more useful to web designers (white is a better background when matching a pattern to a site design)


NB1 - You will find that these patterns have to be set to a higher quality (higher number of iterations) because the noise is more noticeable on white). I usually just set it to maximum, 4294967295, which is another reason for dual core support being something well worth waiting for!)

NB2 - might be an idea to include the inverted map as one of the standard maps in future releases?

NB3 - (for the Photoshop graphic designers who want to use the patterns in print work) Actually, the colors may become *too vibrant*. You can fix this by adding a gas render as a slight multiply layer. this tends to give the pattern much more depth even if you dont want to print.


Regards, and hope this is helpful (and that at least some of you can follow my godawful train-of-thought instructions!)

Sham
======================================================
The Chaoscope mailing-list
Archives : //www.freelists.org/archives/chaoscope
Admin contact : chaoscope@xxxxxxxxxxxxxx
Web site : http://www.chaoscope.org
======================================================



____________
Virus checked by G DATA AntiVirusKit


======================================================
The Chaoscope mailing-list
Archives : //www.freelists.org/archives/chaoscope
Admin contact : chaoscope@xxxxxxxxxxxxxx
Web site : http://www.chaoscope.org
======================================================

Other related posts: