HOME | DD

Published: 2008-12-31 18:31:52 +0000 UTC; Views: 17652; Favourites: 199; Downloads: 4134
Redirect to original
Description
PleasePlugin for Apophysis, which took *far* too long to make
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 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
Related content
Comments: 144
TyrantWave In reply to mandalamker [2009-07-28 08:23:10 +0000 UTC]
Hint: Use Pre_blur on the same transform.
👍: 0 ⏩: 0
Spamkiller In reply to ??? [2009-06-08 18:46:59 +0000 UTC]
I'm featuring this beautiful piece in my Mind-blowing Feature: [link] .
If you don't want to be featured, please note me and I'll remove it.
Kisses&Hugs
Katia
👍: 0 ⏩: 1
zweeZwyy In reply to ??? [2009-06-01 01:20:53 +0000 UTC]
Fun With Truchet [link] - a gift to show my gratitude for endless hours play and incredible results from your truchet plugin.
👍: 0 ⏩: 1
TyrantWave In reply to zweeZwyy [2009-06-01 09:35:44 +0000 UTC]
Hehe thanks!
Great work on those!
👍: 0 ⏩: 0
zweeZwyy In reply to ??? [2009-06-01 01:17:36 +0000 UTC]
Fun With Truchet [link] - a gift to show my gratitude for endless hours play and incredible results from your truchet plugin.
👍: 0 ⏩: 0
Zueuk [2009-02-18 17:54:26 +0000 UTC]
also, seems like you used "size" parameter instead of VVAR
👍: 0 ⏩: 1
TyrantWave In reply to Zueuk [2009-02-18 19:45:42 +0000 UTC]
This too was fixed . They were eventually swapped around, with VVAR effecting the size, and the original Size being renamed to show that it instead effects each "tile".
Again, can't continue it though
👍: 0 ⏩: 0
Zueuk In reply to ??? [2009-02-18 17:40:10 +0000 UTC]
>> if (seed == 0.0) tiletype == 0.0;
>> else if (seed == 1.0) tiletype == 1.0; warning: statement with no effect
somehow I suspect you meant:
>> if (seed == 0.0) tiletype = 0.0;
>> else if (seed == 1.0) tiletype = 1.0;
?
👍: 0 ⏩: 1
TyrantWave In reply to Zueuk [2009-02-18 19:44:56 +0000 UTC]
This was fixed in a later version that didn't get uploaded (I was gonna fix the white dot issue...), however I cannot compile plugins any more (On linux, and have not found a way to compile .dll files yet, as linux doesn't use them).
But yeah, that's what should have been there.
If you wish to take over the truchet plugin, be my guest, I can't work on it any more (As much as I'd like )
👍: 0 ⏩: 0
zweeZwyy In reply to ??? [2009-01-11 00:00:31 +0000 UTC]
Truchet Quick Picks Script here [link] - a little thankyou for all you've brought us with this plugin. It is amazing
👍: 0 ⏩: 1
one-tough-one In reply to ??? [2009-01-07 03:10:56 +0000 UTC]
Thank you for something new to play with
👍: 0 ⏩: 1
zweeZwyy In reply to ??? [2009-01-06 23:53:14 +0000 UTC]
That will free up a lot of time, thanks
👍: 0 ⏩: 1
AmorinaAshton In reply to ??? [2009-01-05 22:24:54 +0000 UTC]
Cool an update, ill try it again and see if its working for me now...thank you
👍: 0 ⏩: 1
Golubaja In reply to ??? [2009-01-05 02:05:53 +0000 UTC]
Thankies brooooooo didn't see you released it!
👍: 0 ⏩: 1
IDeviant In reply to ??? [2009-01-03 08:11:14 +0000 UTC]
And there was me pondering some devious rectangles/split combo - now to explore labyrinthine geometry
👍: 0 ⏩: 1
zweeZwyy In reply to ??? [2009-01-03 07:14:23 +0000 UTC]
Round and Round We Go [link] where Truchet meets Synth
👍: 0 ⏩: 1
phoenixkeyblack In reply to ??? [2009-01-02 21:02:58 +0000 UTC]
Genius ... If this works like it seems to, I've been waiting for this ...
👍: 0 ⏩: 1
TyrantWave In reply to phoenixkeyblack [2009-01-02 21:04:46 +0000 UTC]
Lets hope it does for ya
👍: 0 ⏩: 1
FracFx In reply to ??? [2009-01-02 17:01:14 +0000 UTC]
cool, thanks for sharing
crashes with certain other plugins in 2.08beta2,
I hadn't sorted out which ones yet, I'll le you know later, worked ok in the 3d hack
looks interesting
👍: 0 ⏩: 1
TyrantWave In reply to FracFx [2009-01-02 17:27:24 +0000 UTC]
It's just tempermental with other plugins atm XD
👍: 0 ⏩: 0
Rozrr In reply to ??? [2009-01-02 13:11:20 +0000 UTC]
I am AMD Duel core 64 bit Vista 4Gb RAM good NVDIA 8600 Graphic card and it was crashing truchet all the time. Hope this works.
Thanks for all the time and thought you have put into this.
👍: 0 ⏩: 1
TyrantWave In reply to Rozrr [2009-01-02 13:16:24 +0000 UTC]
This is really perplexing me XD. People with more powerful computers hae truchet run... slower o_O.
I'll keep updating it as I iron out various bugs!
👍: 0 ⏩: 0
djowtlaw In reply to ??? [2009-01-01 22:37:09 +0000 UTC]
Oh did I mention with q set to 1 it still takes almost 20 secs to render each variable tweak? D= Im using a dual core 2.4 GHz Intel Centrino 2 ... this is nearly a top of the line gaming system ppl =x
Single core users BEWARE (Unless you have something like > 3.5 GHz)
👍: 0 ⏩: 1
TyrantWave In reply to djowtlaw [2009-01-01 23:18:24 +0000 UTC]
I'm trying to figure out why this is happening (I'm on a 1.4GHz single core, and it's still faster than most peoples...).
I'll update it as I iron out the bugs!
👍: 0 ⏩: 1
zweeZwyy In reply to TyrantWave [2009-01-03 07:16:38 +0000 UTC]
How do I get rid of the white dot in centre?
👍: 0 ⏩: 1
TyrantWave In reply to zweeZwyy [2009-01-03 10:59:23 +0000 UTC]
I photoshopped it out (White brush is all I needed).
I'm trying to figure out how to code that white spot being removed..
👍: 0 ⏩: 1
Uncle-Keeps In reply to TyrantWave [2009-01-03 13:15:04 +0000 UTC]
It is likely a zero crossing. The code is drawing 0,0
👍: 0 ⏩: 1
TyrantWave In reply to Uncle-Keeps [2009-01-03 13:27:49 +0000 UTC]
That's what I thought, but I've tried doing a pass so that it *won't* draw (0,0).. but it still is =/
👍: 0 ⏩: 1
Uncle-Keeps In reply to TyrantWave [2009-01-03 13:51:49 +0000 UTC]
Hmm, maybe it is happening in the test's? > vs >= or where 0 is part of the range of the conditional tests?
👍: 0 ⏩: 1
TyrantWave In reply to Uncle-Keeps [2009-01-03 14:04:24 +0000 UTC]
I think it's due to the adding of floor(FTx) and floor(FTy).
What I'll try is that if:
size * (x + floor(FTx)) and size * (y + floor(FTy)) != 0, then plot the point.
👍: 0 ⏩: 0
| Next =>