Logo by mclarekin - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 20, 2024, 06:33:36 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: TextMOD  (Read 2818 times)
0 Members and 1 Guest are viewing this topic.
VanlindtMarc
Conqueror
*******
Posts: 130



vanlindt.marc
« on: August 02, 2013, 12:12:26 AM »

Text-MOD is a simple Eisenscript file with a simple font to write simple text.
Just copy the following code into a empty file and save.

To place your text, it's a example in the beginning of the file.

The available charactere are :

LettreA : A
...
LettreZ : Z


AccentAIGU : the accent on " é "
AccentGRAVE : the accent on " è "
AccentCIRC : ^
AccentTREMA : "

Chiffre0 : 0
...
Chiffre9 : 9

caractere- : -
caractere+ : +
caractere* : *
caractereDIV : ÷
caractere: : :
caracterePOINT : .
caractere/  : /
caractere\ : \
caractere= : =
caractere" : "

then if you want a " à ", you use the following code :
Code:
{X 	0 	s  minus minus profondeur} AccentGRAVE
{X 0 s  minus minus profondeur} lettreA

Code:
#define majus 1.618		
#define minus 0.618
#define profondeur 100
#define taillebarre 1/5
#define letmat box::glass

// Fichier vide avec Text-MOD
// Empty file with Text-MOD
// Write EisenScript code here...
//////////////////////////////////////////////////////////////////////////////////////////////////
// Text-Mod (by Vanlindt Marc - vanlindtmarc.blogspot.be - vanlindt.marc@gmail.com )
//////////////////////////////////////////////////////////////////////////////////////////////////
// Example :
//////////////
//
// sstext
//
// rule sstext
// {
// {x 1 s  majus majus profondeur} lettreS
// {X 3 s  minus minus profondeur} lettreT
// {X 4 s  minus minus profondeur} lettreR
// {X 5 s  minus minus profondeur} lettreU
// {X 6 s  minus minus profondeur} lettreC
// {X 7 s  minus minus profondeur} lettreT
// {X 8 s  minus minus profondeur} lettreU
// {X 9 s  minus minus profondeur} lettreR
// {X 10 s  minus minus profondeur} lettreE
// {X 12 s  minus minus profondeur} lettreS
// {X 13 s  minus minus profondeur} lettreY
// {X 14 s  minus minus profondeur} lettreN
// {X 15 s  minus minus profondeur} lettreT
// {X 16 s  minus minus profondeur} lettreH
// }
//
// L'utilisation est simple.
// Comme on peut le voir dans l'exemple, il faut compter un espacement de 2 après une MAJUSCULE et de 1 après une minuscule.
// Pour que cela fonctionne, appliquez une redimensionnement de 1.618 aux MAJUSCULES et de 0.618 aux minuscules.
//
///////////////
// LETTRES //
///////////////
rule lettreA { BV {y 1} BO1{y 1} BH {x 1}BV {y 1 x 1} BV }
rule lettreB { BV {y 1} BV {y 2} BV BH {x 1} BV {y 1} BO2 }
rule lettreC { BH BV {y 1} BO1 }
rule lettreD { BV BH {y 1} BO1 {X 1} BV {x 1 y 1 } BV {x 1 y 2 } BV }
 rule lettreE { BH BV {y 1} BO1 {y 1} BH }
rule lettreF { BV {y 1} BV {y 2} BO1 {y 2} BH }
rule lettreG { BH BV {y 1 } BO1 {x 1 y 1}BV {x 1}BV { y -1}BO1 }
rule lettreH { BV {y 1}BV {y 2}BV {y 1}BO2 {x 1}BV }
rule lettreI { {x 0.5} BV {x 0.5 y 1} BV}
rule lettreJ { {x 1} BV {x 1 y 1} BV {y -1}BO1}
rule lettreK { BV {y 1}BV {y 2}BV {y 1}BO1 BO2}
rule lettreL { {y 2}BV {y 1}BV BO2 }
rule lettreM {  {x 0.5} BV {x 1.5}BV {X 1.5 y 1}BV {x 0.5 y 1}BO1 {y 1 x 1.5}BO1 {y 1 x 2.5 } BV {x 2.5 } BV}
rule lettreN  { BV {x 1}BV {X 1 y 1}BV {y 1}BO1 }
rule lettreO { BV BH {x 1} BV {X 1 y 1}BV {y 1}BO1 }
rule lettreP { BV {y 1}BV {y -1}BV BH {x 1}BV {y 1} BO2 }
 rule lettreQ { BH BV {y 1}BO1 {x 1 y 1}BV {x 1}BV {x 1 y -1}BV }
rule lettreR { BV {y 1}BV {y 1}BO1 }
 rule lettreS { {y 1}BH BO1{y 1} BO1 }
rule lettreT { BO2 {y 1} BV {y 2}BV {y 2} BH }
rule lettreU { BO2 {y 1}BV {x 1}BV {y 1 x 1} BV }
rule lettreV { BV {y 1} BV {y 1 x 1} BV BO1}
rule lettreW {{ x 0.5} BV {x 0.5 y 1} BV {y 1 x 1.5 } BV {x 0.5} BO1 {x 1.5}BV {x 1.5}BO1 {x 2.5 y 1}  BV}
rule lettreX {{y 1 s 1 2 1}BO1 {y 1 s 1 2 1}BO2 }
rule lettreY { {y 1} BV BO2 {x 1}BV {X 1 y 1}BV {y -1}BO1}
rule lettreZ { BO2 {y 1}BO2 {y 1}BH }

////////////////
// ACCENTS //
///////////////
rule AccentAIGU {{y 2 s 1 0.5 1 } BO1}
rule AccentGRAVE {{y 2 s 1 0.5 1 } BO2}
rule AccentCIRC {{y 2 x 0.5 s 0.5 0.5 1 } BO2 {y 2 s 0.5 0.5 1 } BO1}
rule accentTREMA  {{ y 1.5 x 0.25 s 1/10} box { y 1.5 x 0.75 s 1/10} box }

////////////////
// CHIFFRES //
///////////////
rule chiffre1 { {x 1} BV  {x 1 y 1} BV {y 1 s 1 0.5 1 }BO1}
rule chiffre2 {BV BH {y 1}BH {y 2}BH {y 1 x 1 }BV }
rule chiffre3 { {x 1} BV {x 1 y 1}BV BH {y 1}BH {y 2}BH }
rule chiffre4 { {y 1}BV {y 1}BH {x 1}BV {x 1 y 1}BV }
rule chiffre5 {{x 1} BV {y 1}BV BH {y 1}BH {y 2}BH }
rule chiffre6 {BH {y 1}BH {y 2}BH BV {x 1}BV {y 1}BV }
rule chiffre7 {{x 1}BV {x 1 y 1}BV {y 2} BH {y 0.5 x 0.5 s 0.5}BH }
rule chiffre8 {BH {y 1}BH {y 2}BH BV {y 1}BV {x 1 y 1}BV {x 1}BV }
rule chiffre9 {BH {y 1}BH {y 2}BH {y 1}BV {x 1 y 1}BV {x 1}BV }
rule chiffre0 {BH {y 2}BH BV {y 1}BV {x 1 y 1}BV {x 1}BV  {y 1 s 1 2 1} BO1}

///////////////////////////////
// CARACTERES SPECIAUX //
///////////////////////////////
rule caractere- {{y 1} BH}
rule caractere+ {{y 1} BH {y 0.5 x 0.5} BV}
rule caractere* {{y 0.5 }BO1 { y 0.5}BO2}
rule caractereDIV {{y 1} BH { y 0.5 x 0.5} mybox { y -0.5 x 0.5 } mybox}
rule caractere: { {x 0.5 }mybox {y -1 x 0.5 }mybox}
rule caracterePOINT {{y -1 x 0.5 }mybox}
rule caractere/ { {y  1 s 1 2 1}BO1 }
rule caractere\ { {y  1 s 1 2 1}BO2 }
rule caractere= { {y 1.25} BH {y 0.75} BH }
rule caractere" {{y 1.5 x 0.5 s 1 0.5 1} BV {y 1.5 x 1 s 1 0.5 1} BV }

///////////////////////////////////////////////////////////////////////////
// DIFFERENTS BORDS UTILISES POUR FORMER LES CARACTERES //
//////////////////////////////////////////////////////////////////////////
rule BV { {y -0.5 s taillebarre 1 taillebarre} letmat}
rule BH {{y -1 x 0.5 s 1 taillebarre taillebarre} letmat}
rule BO1 {{ y -0.5 x 0.5 rz -45 } BOBL}
rule BO2 {{ y -0.5 x 0.5 rz 45 } BOBL}
rule BOBL {{ s taillebarre 1.41 taillebarre} letmat}
rule mybox {{s taillebarre}letmat}

Examples :







<a href="http://www.youtube.com/v/OCQwxFVPPfg&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/OCQwxFVPPfg&rel=1&fs=1&hd=1</a>


The FB Structure Synth user's group cover :

« Last Edit: August 02, 2013, 12:40:23 AM by VanlindtMarc » Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.118 seconds with 24 queries. (Pretty URLs adds 0.007s, 2q)