POV-Ray : Newsgroups : povray.binaries.images : Alienese : Re: Alienese Server Time
2 Nov 2024 14:18:56 EDT (-0400)
  Re: Alienese  
From: Tek
Date: 19 Sep 2010 20:48:57
Message: <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' (95 KB)

Preview of image 'temp.png'
temp.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.