newLISP Fan Club

Forum => newLISP newS => Topic started by: cormullion on October 19, 2008, 01:24:19 AM

Title: Spaghetti
Post by: cormullion on October 19, 2008, 01:24:19 AM
nl-format -mode="spaghetti"



(//%3C/s%3E%3CURL%20url=%22http://unbalanced-parentheses.nfshost.com/images/spaghetti-format-mode.png%22%3E%3CLINK_TEXT%20text=%22http://unbalanced-parentheses.nfshost.c%20...%20t-mode.png%22%3Ehttp://unbalanced-parentheses.nfshost.com/images/spaghetti-format-mode.png%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)



;)



Edit: I broke all the links on my site :))
Title:
Post by: newdep on October 19, 2008, 03:54:28 AM
Yeah !



Is that thing realy working ? ;-) nice nice..
Title:
Post by: DrDave on October 19, 2008, 07:12:58 AM
Quote from: "newdep"Yeah !



Is that thing realy working ? ;-) nice nice..


Isn't it clear that the ouput was just a side effect of too much beer?
Title:
Post by: cormullion on October 20, 2008, 10:12:15 AM
The beer was used, but only to keep the scripter occupied. :)



The curvature of the text is supposed to increase or decrease with the nesting of the code (so deeper lists curve faster), and the colour of the text depends on the type of element and the depth of code nesting. There's a sprinkling of randomness in the direction of the flow.