quine-howto icon indicating copy to clipboard operation
quine-howto copied to clipboard

why don't you add SVG?

Open Clayblockunova opened this issue 1 year ago • 2 comments

I think a JS quine which generates an SVG would be fun. why not?

Clayblockunova avatar Aug 16 '24 10:08 Clayblockunova

like this?

(q=_=>decodeURIComponent('%3Csvg%20width%3D9999%3E%3Ctext%20y%3D20%3E(q%3D')+q+decodeURIComponent(')()%3C%2Ftext%3E%3C%2Fsvg%3E'))()

this is a JS program that generates an SVG which displays the original JS program, which is a quine relay

there is already a section with a simple quine-relay in, so another one is not novel by itself

but maybe it's worth expanding on the quine relay section?

kirjavascript avatar Aug 20 '24 23:08 kirjavascript

Yes.

Clayblockunova avatar Aug 21 '24 02:08 Clayblockunova