Truchet PluginTyrantWave on DeviantArthttp://creativecommons.org/licenses/by-nc-sa/3.0/https://www.deviantart.com/tyrantwave/art/Truchet-Plugin-107982844TyrantWave

Deviation Actions

TyrantWave's avatar

Truchet Plugin

By
Published:
17.7K Views

Badge Awards

Description

Please :+fav: if you download!

Plugin for Apophysis, which took *far* too long to make :faint:

A few things about the plugin:
1) The variables (and what they do):
-> Truchet_extended: This selects which style of the truchet you wish to use.
Use 0 for the faster (But less random) version, and use 1 for the slower (But more random) version.
Version 1 does not run on all computers.
-->Range: 0 & 1, defaults at 0.

->Truchet_exponent: Controls the shape of the truchet.
--> Use 2 for curves, 1 for straight lines, and less than one for invert, for example.
-->Range: 0.001 to 2.0

-> Arc Width: Controls how thick the lines are.
-->Range: 0.001 to 1.0

-> Rotation: Rotates each tile
-->No range

-> Size: Effects the whole truchet's size.
-->Range: 0.001 to 10.0

-> Seed: Now this is the good part: Edit the seed to get a completely different truchet.
If using Extended = 0, using a smaller seed (<100) works best for random. You can also use decimal values in this seed!
If using Extended = 1, then a larger seed (>1k) works better for random tiles. This one treats all seeds as integers.
-->No range


Other things to note:
The plugin is kinda slow, yes, but that's due to the nature of how it calculates the seed.

The .zip file contains The .dll, the source code, the preview pic, and also the flame file *for* the preview pic to get people started

And lastly: A huge thanks to :iconkeeps: for teaching me how to write plugins, and for amazing input on this plugin in particular!

EDIT: RE-UPLOADED TO FIX NEGATIVE-VARIABLE CRASHES

EDIT 2: Coding has been tidied up, as a result the plugin should be more stable.
Also, increased the maximum seed from 65535 to 99999
.

EDIT 3: NEW VERSION OF TRUCHET, ADDING ANOTHER VARIABLE (Truchet_extended) WHICH ALLOWS YOU TO PICK BETWEEN A FASTER, LESS RANDOM STYLE OF TRUCHET, OR A SLOWER BUT MORE RANDOM ONE.

If you had issues with Truchet before, this new one should fix most of them. To avoid the issues, do not use the Extended mode (Truchet_extended = 1), leave it at 0.

Edit 4: Handful of optimisations to the code
Comments144
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In