Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This reminds me of experiments I did in using Lua to generate SVG. With a little work, I thought it could make a useful replacement format for vector graphics (if anyone would adopt it; not too likely). It was nice to able to use control structures, especially loops and random numbers, to generate images. I definitely think XML is not the best format. Maybe something based on Haskell or some other functional language could work?


If you found that interesting, check out Pov-Ray. It does the same thing with 3D. Doesn't output any kind of vector format (that I know of), but the scenes are all described in a Turing-Complete language like that.


Yes, that's very cool. Thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: