Skip to content

Programs that rewrite themselves using the browsers runtime.

Notifications You must be signed in to change notification settings

jl-n/self-replicating-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self Replicating HTML

axiom.html

Proof of concept showing the mechanism for rendering a Quine and replacing itself with a new modified version.

ouroboros.html (Use w a s d keys to navigate)

A game of snake that happens inside its own source code, using each iteration as a game loop.

transmission.html

Each instance passes a hash of itself to its progeny, making it increasingly expensive to find the source code of the progenitor.

About

Each .html file contains a self replicating program (a kind of Quine). When a file is opened in a browser, it displays its source code then modifies it, replacing itself with the modified version in an ongoing sequence of computations.

Each iteration or "frame" is a self contained program, with the property that if you copy the rendered text into a new .html file at any point while it's running and open it, the new file will continue from the point you copied it from.

The files in this repository are currently starting points aimed at exploring the various possibilities this form offers.

About

Programs that rewrite themselves using the browsers runtime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages