List of brushes: Difference between revisions
Appearance
No edit summary |
|||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
See | See {{cmd|Brush}} page for general information on using brushes. | ||
=Checkered Brush= | =Checkered Brush= | ||
| Line 25: | Line 25: | ||
:If two or more block names are given, each block has an equal chance to appear on the pattern (50/50 for two blocks, 33/33/33 for three, 25/25/25/25 for four, etc). If only one block name is given, this brush leaves half of blocks untouched. | :If two or more block names are given, each block has an equal chance to appear on the pattern (50/50 for two blocks, 33/33/33 for three, 25/25/25/25 for four, etc). If only one block name is given, this brush leaves half of blocks untouched. | ||
:For advanced use, you can specify percentage or ratio of each block in the mix. For example: <code>/brush random red/60 white/40</code> makes a pattern that's 60% red and 40% white blocks. Same thing can be accomplished by doing <code>/brush random red/3 white/2</code> (3 red blocks for every 2 white block). You can omit the number | :For advanced use, you can specify percentage or ratio of each block in the mix. For example: <code>/brush random red/60 white/40</code> makes a pattern that's 60% red and 40% white blocks. Same thing can be accomplished by doing <code>/brush random red/3 white/2</code> (3 red blocks for every 2 white block). You can omit the number if ratio is 1 (writing <code>someBlock/1</code> is same as just <code>someBlock</code>). | ||
<gallery widths=200px heights=135px perrow=3> | <gallery widths=200px heights=135px perrow=3> | ||
| Line 35: | Line 35: | ||
Image:Random eh obsidian1000 white1 red1 blue1 green1.png|<code>/eh obsidian/1000 white red blue green</code> | Image:Random eh obsidian1000 white1 red1 blue1 green1.png|<code>/eh obsidian/1000 white red blue green</code> | ||
</gallery> | </gallery> | ||
=Cloudy Brush= | =Cloudy Brush= | ||
: | :Creates a swirling pattern of two or more block types ([http://en.wikipedia.org/wiki/Perlin_noise Perlin noise]). If only one block name is given, leaves every other block untouched. Usage similar to Random brush. | ||
<gallery widths=200px heights=135px perrow=3> | <gallery widths=200px heights=135px perrow=3> | ||
Image:Cloudy c red obsidian.png|<code>/c red obsidian</code> | Image:Cloudy c red obsidian.png|<code>/c red obsidian</code> | ||
Image:Cloudy c water white.png|<code>/c water white</code> | Image:Cloudy c water white.png|<code>/c water white</code> | ||
Image:Cloudy c grass water dirt.png|<code>/c grass water dirt</code> | Image:Cloudy c grass water dirt.png|<code>/c grass water dirt</code> | ||
Image:Cloudy | Image:Cloudy e red orange yellow lime aqua blue indigo.png|<code>/e red orange yellow lime aqua blue indigo</code> | ||
Image:Cloudy c green75 indigo25.png|<code>/c green/75 indigo/25</code> | Image:Cloudy c green75 indigo25.png|<code>/c green/75 indigo/25</code> | ||
Image:Cloudy e obsidian lava obsidian.png|<code>/e obsidian lava obsidian</code> | Image:Cloudy e obsidian lava obsidian.png|<code>/e obsidian lava obsidian</code> | ||
Image:Cloudy torus dirt air2.png|<code>/torus dirt air/2</code> | Image:Cloudy torus dirt air2.png|<code>/torus dirt air/2</code> | ||
</gallery> | </gallery> | ||
There are three optional parameters you can use with the cloudy brush: | |||
* <code>__%</code> is for texture scale: <code>100%</code> is default. Anything between <code>10%</code> and <code>1000%</code> works. Larger percentage = larger clouds | |||
* <code>__T</code> is for turbulence: Default is <code>100T</code>. Anything between <code>10T</code> and <code>1000T</code> works. Higher turbulence = rougher texture. Lower turbulence = more smoothed texture. | |||
* <code>__S</code> is for seed: Default is random. any hex number between <code>0000S</code> and <code>FFFFS</code> works. Texture of brushes with same seed number will line up. | |||
Any or all of these parameters can be put before or after the list of blocks, in any order. They were introduced in fCraft {{Changelog|0.632}}. Here is an example of a command using all these features: | |||
'''{{cmd|Brush|cloudy 200% 50T 1234S red orange yellow}}''' | |||
(200% scale -- double the texture scale; 50% turbulence -- 2x smoother than usual; '1234' seed; red-orange-yellow gradient) | |||
<gallery widths=t150px heights=150px perrow=3 caption="Comparison of scale/turbulence parameters"> | |||
Image:Cloudy-50%-50T.png|<code>50% 50T</code> | |||
Image:Cloudy-50%-100T.png|<code>50% 100T</code> | |||
Image:Cloudy-50%-200T.png|<code>50% 200T</code> | |||
Image:Cloudy-100%-50T.png|<code>100% 50T</code> | |||
Image:Cloudy-100%-100T.png|<code>100% 100T</code> (default) | |||
Image:Cloudy-100%-200T.png|<code>100% 200T</code> | |||
Image:Cloudy-200%-50T.png|<code>200% 50T</code> | |||
Image:Cloudy-200%-100T.png|<code>200% 100T</code> | |||
Image:Cloudy-200%-200T.png|<code>200% 200T</code> | |||
</gallery> | |||
=Replace Brush= | |||
:Replaces blocks of a given type(s) with another type. Usage similar to [[/Replace]] | |||
=ReplaceNot Brush= | |||
:Replaces all blocks except the given type(s) with another type. Usage similar to [[/ReplaceNot]] command. | |||
=ReplaceBrush Brush= | |||
:Replaces blocks of a given type with a pattern created by another brush. Usage similar to [[/ReplaceBrush]] command. | |||
{{LastUpdated|1107}} | {{LastUpdated|1107}} | ||
Latest revision as of 21:08, 30 November 2013
See /Brush page for general information on using brushes.
Checkered Brush
- Checkered brush makes a checkerboard pattern.
- If two block names are given, brush alternates them. If one block name is given, this brush only draws every other block (leaving half of blocks untouched).
-
/c red cyan -
/cw obsidian lava -
/eh obsidian(with moiré)
Rainbow Brush
- Rainbow brush is simple: it makes a rainbow pattern. It was originally made just as a test, but testers liked it. It takes no parameters.
-
/e -
/c(as a picture frame) -
/torus
Random Brush
- Random brush makes a random pattern from one or more blocktypes.
- If two or more block names are given, each block has an equal chance to appear on the pattern (50/50 for two blocks, 33/33/33 for three, 25/25/25/25 for four, etc). If only one block name is given, this brush leaves half of blocks untouched.
- For advanced use, you can specify percentage or ratio of each block in the mix. For example:
/brush random red/60 white/40makes a pattern that's 60% red and 40% white blocks. Same thing can be accomplished by doing/brush random red/3 white/2(3 red blocks for every 2 white block). You can omit the number if ratio is 1 (writingsomeBlock/1is same as justsomeBlock).
-
/c yellow blue -
/e red orange yellow -
/c air -
/c grass/75 dirt/25 -
/c wood books/5 -
/eh obsidian/1000 white red blue green
Cloudy Brush
- Creates a swirling pattern of two or more block types (Perlin noise). If only one block name is given, leaves every other block untouched. Usage similar to Random brush.
-
/c red obsidian -
/c water white -
/c grass water dirt -
/e red orange yellow lime aqua blue indigo -
/c green/75 indigo/25 -
/e obsidian lava obsidian -
/torus dirt air/2
There are three optional parameters you can use with the cloudy brush:
__%is for texture scale:100%is default. Anything between10%and1000%works. Larger percentage = larger clouds__Tis for turbulence: Default is100T. Anything between10Tand1000Tworks. Higher turbulence = rougher texture. Lower turbulence = more smoothed texture.__Sis for seed: Default is random. any hex number between0000SandFFFFSworks. Texture of brushes with same seed number will line up.
Any or all of these parameters can be put before or after the list of blocks, in any order. They were introduced in fCraft 0.632. Here is an example of a command using all these features:
/Brush cloudy 200% 50T 1234S red orange yellow
(200% scale -- double the texture scale; 50% turbulence -- 2x smoother than usual; '1234' seed; red-orange-yellow gradient)
- Comparison of scale/turbulence parameters
-
50% 50T -
50% 100T -
50% 200T -
100% 50T -
100% 100T(default) -
100% 200T -
200% 50T -
200% 100T -
200% 200T
Replace Brush
- Replaces blocks of a given type(s) with another type. Usage similar to /Replace
ReplaceNot Brush
- Replaces all blocks except the given type(s) with another type. Usage similar to /ReplaceNot command.
ReplaceBrush Brush
- Replaces blocks of a given type with a pattern created by another brush. Usage similar to /ReplaceBrush command.