Xah Particle Maker Tutorial

Get your Xah Particle Maker today!
By Xah Lee. Date: , 2010-05

This page is a tutorial of Xah Particle Maker. In 20 minutes, you'll learn all the basics of how to use it.

Preset Panels

Xah Particle Maker screenshot
Presets buttons. Click on them to generate the particle. Click on Random to generate a random one.

Pattern Picker

patterns picker
The Pattern Picker.

Click on the pattern picker changes the overall shape of the particle pattern.

The pattern that is currently in effect is colored red.

Advanced Pattern Tips

Particle Pattern Tips
PatternButton ShapeTip
ExplodeBallWhen using Explode, try to type BurstSpeedRange ‹min› ‹max› and BeginRadius ‹r›. BurstSpeedRange makes the particles bust out from a random speed from min to max.
DropCylinderThis pattern does not move particles by default. Try typing ForceVector 0 0 -1 for a gravity effect and ForceVector 0 0 1 for a rising smoke effect.
Angle ConeConeWhen using this pattern, try AngleRange 0 10 for a shooting gun effect, or AngleRange 90 90 for disk effect.
AngleFan ShapeWhen using this pattern, try the AngleRange command like Cone, but also try SpinVector 0 0 40 to have it behave like a rotating water spinkler or spiral.

Color Picker

color picker 2-s
The Color Picker, transparency slider, and the Sprite Size touchpad.

The Color Picker lets you select a color for your particle. Click on any color spot to make a chance. Or, you can click and hold, then move your mouse, to see changes in real time.

The gray vertical strip is for changing brightness.

The Transparency touchpad lets you set transparency.

The Sprite Size touchpad changes the particle image size.

Clicking on the bottom color picker (not shown above) will set ending color, so that the particles will shift its color from starting color to ending color. Similar for the bottom set of transparency slider and Sprite Size touchpad.

Parameter Sliders

slider touchpads
Parameter Sliders.

Each panel is a touchpad. They let you change particle parameters.

To use them, click on a position on a panel. Or, left click and hold down the button, then move your mouse. The particle is updated as you drag your mouse pointer over the panel.

SliderPurpose
Seconds Per BurstHow frequently the particle are generated.
Count Per BurstNumber of sprites per burst.
Particles AgeHow long each sprites lasts.

The above 3 controls the overall impression of how spammy is your particle.

SliderPurpose
Speed Range The speed variation of the moving speed the sprite's initial bursting out. If the value is small such as 0, all sprites burst out at the same speed. If the value is large, some sprite burst out slowly, some very fast.
Minimal SpeedThe minimal moving speed of the sprite's initial burst.

When a particle is generated, the sprites “burst” out from the prim containing the particle script (the emitter prim). The speed they burst out is controlled by these two parameters.

SliderPurpose
Burst Begin RadiusThe distance the sprites start to appear from the emitter.
Spin on z-axisMakes the emitter spin. Similar to having the emitter prim rotate. Good for effects like spinning water sprinkler, spiral.
GravityMakes the sprites move toward ground (for rain effect), or towards sky (for smoke effect).

On/Off Panel

on off panel
The On/Off Panel. When a switch is on, it lights up red.

These are on/off switches that control the particle's behavior. Just try them. Their effects are apparent most of the time. The following is a detailed explanation.

On/Off Panel Controls
Panel NameMeaningTips
GlowMake the particle color glow.This is like “Full Bright” for a prim. When a particle is set to glow, local light won't change its shade nor sunrise or sunset.
Color ChangingMake the color of the particles shift from one color to another.
Follow WindMake the particles move by Second Life's region wind.Wind in Second Life has random direction, but the wind is always slow. To emulate leafs falling, use the Gravity touchpad and set it to about “- 0.5”. To emulate rising smoke, set Gravity to about “0.5”.
BounceMake the sprites bounce on a horizontal plane where the emitter prim is at. The sprites will never go under the emitter when this is on.For example, if you have a water fountain on the 10th floor of a building, shooting water upwards, when the water droplets falls, you don't want them to go through the floor. Then, turn this on. If your particles does not go under the emitter, then this switch will have no visible effect.
Size ChangingMake the sprite change its width and height during its life.When you turn this on, usually you also want to set StartScale ‹width› ‹height› and EndScale ‹width› ‹height›.
ShootingMake the sprite change its orientation during its life time. When on, the sprites will be oriented in the same direction they are moving.This behavior is good usually when you want to emulate something shooting out, like a gun or gushing blood. When you set this on, usually you want have Size Changing on too.
Target YouMake the particles flow towards you.

Creating Full Perm Script

create script button
Create Script button.

Clicking on this button generates the particle script. The code is shown in your chat.

To create your full perm particle effect, do:

Applying Particle Textures

set texture tool
The Xah Particle Texture Tool.

To apply a texture, rez the object named “Xah Particle Texture Tool”. Then, drag a texture to the tool's top face.

You can touch the object anytime to set the particle texture to use the prim's top face texture.

You can also set a texture by typing the command: texture ‹uuid›. If you want to set the texture to default, just type texture default.

You can rez multiple copies of this tool. This is convenient when you have several textures and what to compare them.

Be sure to check out the Linden bundled textures in your inventory. Open your inventory, and look in the folder named 〖Library ▸ Textures ▸ Waterfalls ▸ Particle System〗.

Particle Parameter Display and Commands

For advanced users, you can set particle parameters by typing it in chat.

emitter info display sprite info display
Particle Parameter Info. These are the parameters for the current particle.

For detail about the parameters and commands, see: Xah Particle Maker Manual: Advanced.

Common Questions and How-to

For common questions, see: Xah Particle Maker Frequently Asked Questions.

Want to dash through walls?
Try Xah Tele-Dasher!