|
|
Extreme example!
AlieneseWrap( 60, 60 )
It looks like code, maybe I need to add some hierarchical indenting!
(probably putting too much thought into this, should get on with the sci-fi
picture I created it for!)
--
Tek
http://evilsuperbrain.com
"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:4c96af79@news.povray.org...
> "Christian Froeschlin" <chr### [at] chrfrde> wrote in message
> news:4c962d8c@news.povray.org...
>>
>> Looks neat and very elegant solution! The only problem I see
>> is that the perfect grid may be a bit distracting. I just played
>> with a derived pigment that uses different spacings for each
>> line although it is not really a proportional font:
>
> Cool, though for my purposes I don't need a wall of text so the pattern
> should never be obvious.
>
> Though I did think about how to make each line be a random number of
> characters long...
>
> ...In fact I've given that a quick try, turns out to be pretty simple.
> Here's the code:
>
> #local f_cells = function { pattern { cells } }
>
> #macro AlieneseWrap( LineLength, Variation )
> function {
> select( LineLength - int(f_cells(x/LineLength,y,z)*Variation) - x, 0, 1 )
> }
> pigment_map {
> [0 rgb 0]
> [1 Alienese]
> }
> #end
>
> pigment { AlieneseWrap( 25, 10 ) }
>
> Obviously this can be adapted easily to have chinese style downwards
> writing
> instead of left-to-right. Dunno what the syntax is for this language :)
>
> --
> Tek
> http://evilsuperbrain.com
>
>
>
Post a reply to this message
Attachments:
Download 'temp.png' (83 KB)
Preview of image 'temp.png'
|
|