Quine

A turtle Quine. It should be possible to create much smaller turtle Quines by using a compact font and more efficient compression algorithms for the data.

(similar to my Shader Quine shadertoy.com/view/mlgcrz)

#quine

Log in to post a comment.

a=b=>{ ///////////// quine. created by reinder nijhoff 2019 /////////////
b="a="+a+";a()";c=new Turtle();x=y=-92;d=("AAiaihTqaqhAAAAwjwivhuhtiskq"+
"posmukvgveudtcrcpdnemlimhnfndmbkaibhdhfiiklpsrutvvvwuwtAmclbmanbndmflg"+
"Aq]o_mbkfjkjoktmxo{q}Ai]k_mbofpkpootmxk{i}AAmdmvTdmvmAnrmslrmqnrntlvAd"+
"mvmAmqlrmsnrmqAv]d}AlaibgefjfmgriulvnvqusrtmtjseqbnalaAiekdnanvAgfgehc"+
"ibkaoaqbrcsesgriplfvtvAhasamipirjsktntpssqunvkvhugtfrApafouoTpapvAraha"+
"gjhikhnhqisktntpssqunvkvhugtfrAsdrboamajbhegjgohsjumvnvqusstptoslqjnim"+
"ijjhlgoAtajvTfataAkahbgdgfhhjinjqksmtotrstruovkvhugtfrfogmikljpirhsfsd"+
"rboakaAshrkpmmnlnimgkfhfggdiblamapbrdshsmrrpumvkvhugsAmjlkmlnkmjTmqlrm"+
"snrmqAmjlkmlnkmjTnrmslrmqnrntlvAAdjvjTdpvpAedumevAgfgehcibkaoaqbrcsesg"+
"riqjmlmoTmtlumvnumtAAmaevTmauvThoroAAuftdrbpalajbhdgffifngqhsjulvpvrut"+
"suqAAAAAAAAAAAAAAAAtdrboakahbfdffghhijjplrmsntptsruovkvhufsAmamvTfataA"+
"AAAAAAj]j}Tk]k}Tj]q]Tj}q}AfatyAo]o}Tp]p}Ti]p]Ti}p}Am_emTm_umAd}v}Anflh"+
"ljmknjmiljAshsvTskqiohlhjihkgngphsjulvovqussAgagvTgkiikhnhpirksnsprspu"+
"nvkviugsAskqiohlhjihkgngphsjulvovqussAsasvTskqiohlhjihkgngphsjulvovqus"+
"sAgnsnslrjqiohlhjihkgngphsjulvovqussArapanbmemvTjhqhAshsxr{q|o}l}j|Tsk"+
"qiohlhjihkgngphsjulvovqussAhahvThlkimhphrislsvAlambnam`laTmhmvAmanboan"+
"`maTnhnym|k}i}AhahvTrhhrTlnsvAmamvAbhbvTbleighjhlimlmvTmlpirhuhwixlxvA"+
"hhhvThlkimhphrislsvAlhjihkgngphsjulvovqusstptnskqiohlhAghg}Tgkiikhnhpi"+
"rksnsprspunvkviugsAshs}TskqiohlhjihkgngphsjulvovqussAjhjvTjnkkmiohrhAs"+
"kriohlhiihkimknporpsrssruovlviuhsAmamrnupvrvTjhqhAhhhriukvnvpusrTshsvA"+
"ghmvTshmvAehivTmhivTmhqvTuhqvAhhsvTshhvAghmvTshmvkzi|g}f}AshhvThhshThv"+
"svAo]m^l_kakclemfnhnjllTm^l`lbmdneogoinkjmnooqosnumvlxlzm|Tlnnpnrmtluk"+
"wkyl{m|o}Am]m}Ak]m^n_oaocnemflhljnlTm^n`nbmdlekgkilkpmlokqkslumvnxnzm|"+
"Tnnlplrmtnuowoyn{m|k}AA").split('A').map(e=>e.split('T').map(f=>f.split(
'').map(g=>g.charCodeAt(0)-109)));b.split('').map((e,k)=>{i=b.charCodeAt(
k)-32;e=="\n"&&(y+=6,x=-92);i>=0&&d[i].map(p=>{c.pu();for(l=0;p.length>l;
l+=2)c.goto(x-4+p[l]/8,y+p[l+1]/8),c.pd();},x+=2.6)})};a()