I wanted to show the Bad Apple animation without JS or CSS, with an impressively minimal set of HTML tags, by abusing slow chunked response, forcing the browser to load the page piece-by-piece. That's happening now (unless you're reading some archive) but how can we use it for animation?
▁▂▃▄▅▆▇█
But what to put in the dialog?
Text art works:
…but needs line breaks. Can't break lines without a tag, like <br> or <p>. Except the browser will break long lines at whitespace.
The browser will not break spaceless words: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA See? Horizontal scrollbar.
So avoid tags like this:
My first demo uses <br> though because abusing word-wrap lags the browser eventually.
How can we animate with chunked loading without any tags?
Can the server somehow delete/overwrite data after it's sent? No, I don't think so, without using JS or CSS to hide things. (There's something called HTTP 206 Partial Content that can return ranges of bytes, which I guess maybe could overlap to rewrite sent data, but I didn't try that.)
It's a problem of symmetry. New content appears on bottom; the page scrolls down. New content appears on the right; the page scrolls right. The page can't grow to the up or left. If we could put new content on the top, or even on the left, we could use it to displace old content, but that's impossible with only text, since text always flows left-to-right, top-to-bottom.
Or does it?
Many languages read right-to-left. U+202e RIGHT-TO-LEFT OVERRIDE makes text appear right-to-left. There's an HTML property for this too, but we don't need it; we can just use the control character.
▁▂▃▄▅▆▇█
Or with spacers, to hide previous frames:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▁AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▂AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▃AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▄AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▅AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▆AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA▇AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA█
We can only use this for one line of (backwards) text, so how can we render a frame of Bad Apple in one line of text?
Some characters appear atop̂̂̂̂. You can stack them unreasonably higĥ̂̂̂̂̂̂̂̂̂̂̂̂̂̂̂̂̂̂ or low̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥. If you don't see tall stacks of diacritics, your device doesn't support them, which is kinda reasonable? I don't think any language has words with 50 stacked diacritics. They render better on Firefox than Chrome. Excessive diacritic-stacking is known as Zalgo text.
Anyway, now find two diacritics of the same size that stack in the same direction but one is darker than the other, and we can make a 2-tone matrix:
A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͚͚͚͕͕͕͕A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͚͚͚͚͚͚͚A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͚͚͚͚͚A͕͕͕͕͕͚͚͚͕͕͕͕͕͕͕͕͚͚͚͚͚A͕͚͕͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚A͕͕͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚A͕͕͕͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚͚A͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕͕
So there's — oh, the Zalgo is in the way — there's a frame of Bad Apple in one line of text! Combine that with chunked loading and right-to-left override and you have 0-tag Bad Apple. It even plays in Firefox's view-source:! At time of writing, it's available here.
My computer's text-rendering engine seems to tire from one 1000-