I grabbed the hilbert file and pasted it into the Lambda Talk Console. This worked. So here I try pasting it into the Code to be evaluated by Frame. lambdaway
Hilbert Program. file
It started showing html but no curve until I balanced the brackets and took out the blank lines.
I adjusted dimensions to fit a wiki page. I'm getting close. But I'm not getting the layered color yet so maybe more scaling problems?
Ah, missing the stroke function. Now it looks great.
{svg {@ width="380px" height="380px" style="box-shadow:0 0 8px #888;"} {path {@ d="M {turtle 10 10 0 {H5}}" {stroke 4 #c00}}} } {def left {lambda {:d :n} {if {< :n 1} then else T90 {right :d {- :n 1}} M:d T-90 {left :d {- :n 1}} M:d {left :d {- :n 1}} T-90 M:d {right :d {- :n 1}} T90}}} {def right {lambda {:d :n} {if {< :n 1} then else T-90 {left :d {- :n 1}} M:d T90 {right :d {- :n 1}} M:d {right :d {- :n 1}} T90 M:d {left :d {- :n 1}} T-90}}} {def H5 {left 11.5 5}} {def stroke {lambda {:w :c} fill="transparent" stroke=":c" stroke-width=":w"}}
http://code.fed.wiki/assets/pages/lambda-talk-in-a-frame/repl.html HEIGHT 400