Graphic design forum archive

Sine Distort

Sine Distort Distorts an image using sine. Source https://github.com/amsqr/Chromanin.js Notes This does not work the same as the code it was made from. The way the edges are handled is different...might look at it later, but probably not ๐Ÿ˜‰ Still, makes some...
XCom-like glow/distorsion thumbnail

XCom-like glow/distorsion

So, here is another script. Since the XCom:Enemy Within game is going to be released soon, I though it would be nice to create a script that would make it easy to duplicate the distortion effect used in many places in the game. Basically, i...

Duplicate Frames To End Of Animation

Duplicate Frames To End Of Animation Download https://dl.dropboxusercontent.com/u/3610419/RealWorld/Commands/Duplicate%20Frames%20To%20End%20Of%20Animation.rwcommands Description Copies selected frames to the end of the animation. You can select how many times...

Solarize

Solarize Code Execution var image = Document.RasterImage; var w = image.sizeX; var h = image.sizeY; var c,r,g,b,a,x,y; for (x=0; x<w; x++){ for (y=0; y<h; y++){ c = image.GetPixel(x,y,0,0); b = c & 255; g = c >> 8 & 255; r = c >> 16 &...

Sepia

Sepia Code Execution var image = Document.RasterImage; var w = image.sizeX; var h = image.sizeY; var c,r,g,b,a,x,y,or,og,ob; for (x=0; x<w; x++){ for (y=0; y<h; y++){ c = image.GetPixel(x,y,0,0); ob = c & 255; og = c >> 8 & 255; or = c >...

Glow and Glow Highlights

Glow Code Configuration Configuration.AddEditBox("blurRadius", "Blur Radius", "Blur Radius - decimal values are allowed", 5); Configuration.AddEditBox("amount", "Amount", "Percentage of blurred pixel to add to source (really should be between 0 and 1)", 0.5); ...

Extract Lightness

Extract Lightness Deletes any pixel that doesnt fall within a certain range. Its another thing you can use to get a glow/bloom effect. Duplicate a layer, run this on it, then blur it. Or on an image that doesn't have much white highlights, this is cool.... Dup...

Range Extractor

Range Extractor Liked the previous script and thought Id try to make a more general one that can work on other channels. Code Configuration Configuration.AddEditBox("minimum", "Minimum Value", "", 0.55); Configuration.AddEditBox("maximum", "Maximum Value", "",...

Shape Burst

Shape Burst Got a feeling this is one of the steps of bevel. Well I like being able to do every step by hand so made this. It um....creates a gradient that matches the shape...yeah, that sounds about right ๐Ÿ˜‰ Notes The source came from the extremely cool......

Fatten Alpha

Flatten Alpha This will change any pixel that has an alpha above 0 to have an alpha of 255. This is useful for the Shape Burst script. One thing you can do is make a shape on a transparent background. Run the Shape Burst script. Everythings a little jagged so ...

Scripting tips and tutorials

For those looking to learn how the scripts work, I recommend to look at the scripting tutorial and to read the documentation. Also, the cursor wizards in the cursor editor are scripted and are good examples of scripts (look here).

Blur and Restore Alpha

Blur and Restore Alpha Blurs and image using gaussian blur and then restores the alpha values of the pixels to what they where before the blur. This is good for when you had a shape drawn on a transparent background that used anti-aliasing. The anti-aliasing ...

Older scripts

Kaleidoscope image effect Kaleidoscopes use carefully arranged mirrors to create beautiful symmetrical images. Code http://www.rw-designer.com/kaleidoscope-effect-script Author RealWorld

Round Vector vertex coordinates?

This would create smooth edges Hey, would it be possible to make a script that would modify all the coordinates of vector vertexes, and round them to the nearest whole number? The idea would be to make the edges line up and make things line up. Is there a way ...

[Animation] Tweenable Blur

http://bit.ly/1aCqiQj Download the above link and drag the file onto a toolbar in Animation mode. It allows you to select 2 or more frames and then blur from one value to another across the selected frames. You can also select a Tween mode. For those dont know...

[Animation] Tweenable Fade

http://bit.ly/1b5Dlbi Download the above link and drag the file onto a toolbar in Animation mode. It allows you to select 2 or more frames and then fade from one value to another across the selected frames. For each frame it times the alpha values for pixels b...

Kaleidoscope

You know what that is ๐Ÿ˜‰ Code Configuration Configuration.AddSlider("sides", "Sides", "", 3, 100, 7); Configuration.AddSlider("angle", "Angle", "", 0, 360, 0); Configuration.AddSlider("rotation", "Rotation", "", 0, 360, 0); Configuration.AddSlider("centerX",...

Preview Image

Is there any way to get the preview to use an image that is only half, quarter, whatever, the size of the original image? Its just that then for the slow scripts you could still get a good idea of what its going to look like without waiting so long. The Kaleid...

Future of scripting

what to expect in future versions, suggestions are welcome RasterImage The RasterImage interface is quite old and it is starting to show. Perhaps an alternative interface that would offer a different approach to raster images should be added. The current Raste...

Diffusion

Scatters pixels. Code Configuration Configuration.AddSlider("scale", "Scale", "", 1, 100, 4); Execution // Joel Besada // https://github.com/JoelBesada/JSManipulate // Plus PAEz touch here and there function getBilerpixel(l, x, y, w, h) { var corner = []; va...

Circle Smear

Um....smears circles on your image. Be warned the Size parameter affects the time it will take alot. Code Configuration Configuration.AddSlider("size", "Size", "Be warned, the larger the size the longer it will take, keeping it under 10 is sane.", 1, 100, 4); ...

Cross Smear

If you apply this to the same image over and over you end up with a kindy crossy blur, try it. Code Configuration Configuration.AddSlider("density", "Density Percentage", "", 1, 100, 4); Configuration.AddSlider("scale", "Scale", "", 1, 100, 4); Configuration.A...

Line Smear

Smears lines. Code Configuration Configuration.AddSlider("size", "Distance", "Be warned, the larger the size the longer it will take.", 1, 100, 8); Configuration.AddSlider("density", "Density Percentage", "", 1, 100, 50); Configuration.AddSlider("angle", "Angl...

Sawtooth Ripple

Code Configuration Configuration.AddSlider("xAmplitude", "X Amplitude", "", 0, 30, 5); Configuration.AddSlider("yAmplitude", "Y Amplitude", "", 0, 30, 5); Configuration.AddSlider("xWavelength", "X Wavelength", "", 1, 50, 16); Configuration.AddSlider("yWaveleng...

Triangle Ripple

Code Configuration Configuration.AddSlider("xAmplitude", "X Amplitude", "", 0, 30, 5); Configuration.AddSlider("yAmplitude", "Y Amplitude", "", 0, 30, 5); Configuration.AddSlider("xWavelength", "X Wavelength", "", 1, 50, 16); Configuration.AddSlider("yWaveleng...