Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tom-p-reichel/svg-is-turing-complete

An implementation of rule 110 in Scalable Vector Graphics
https://github.com/tom-p-reichel/svg-is-turing-complete

Last synced: 3 months ago
JSON representation

An implementation of rule 110 in Scalable Vector Graphics

Awesome Lists containing this project

README

        

# SVG is turing-complete-ish:
For SVG to be truly turing complete, it must have its output fed to it's input--- making this only a sort of driven turing machine.\
\
Scalable Vector Graphics is an XML based language with significant image processing capabilities, and here I demonstrate that SVG can theoretically do arbitrarily large (but ultimately finite) computations.\
\
\
It does so by unrolling a fixed number of iterations of [rule 110](http://mathworld.wolfram.com/Rule110.html), which IS turing complete, using SVG image filters.\
\
Depending on the browser and browser version, this runs either very fast or excruciatingly slowly. Try it below!\
\
Behold the monstrocity in-browser [here](https://tom-p-reichel.github.io/svg-is-turing-complete/110.html).