79
votes
Loading... Forever
HTML/CSS, 183 180 163 161 160 147 143 bytes
a{display:inline-flex;overflow:hidden;width:1ch}c{animation:c 1s steps(4)infinite}@keyframes c{to{margin:0-4ch
<...
61
votes
Loading... Forever
Vim, 43, 41 bytes
qqSLoading... |<esc>:sl250m
r/@:r-@:r\@:@qq@q
Two bytes saved thanks to @Udioica!
Here's a (slightly outdated) animation of it happening in ...
45
votes
Accepted
Sprocket Science: Animating a Chain Drive System
JavaScript (ES6), 2557 1915 1897 1681 bytes
This isn't super-duper golfed really; it's minified - partly by hand - but that's nothing special. It could no doubt be shorter if I'd golfed it more ...
41
votes
Sprocket Science: Animating a Chain Drive System
C# 3566 bytes
Not golfed at all, but works (I think)
Ungolfed in edit history.
Uses Magick.NET to render gif.
...
41
votes
41
votes
40
votes
Loading... Forever
HTML + JS (ES6), 20 + 51 50 = 70 bytes
setInterval(_=>a.innerHTML='|/-\\'[i=-~i%4],i=250)
Loading... <a id=a>-
...
40
votes
I'm too cold, turn up the temperature
Minecraft 1.9.0+, 204 162 bytes + 58 36 28 24 20 blocks = 262 240 232 186 182 blytes
This solution is golfed down, and it can't be seen whole in one, or even two screenshots. Uses two glitches and ...
39
votes
I'm too cold, turn up the temperature
Bash + linux utilities, 19
seq 40 2 72|pv -qlL2
seq generates the numerical output. pv ...
34
votes
34
votes
Animate the text in your terminal
Vim 26 bytes
ihello world<ESC>qq~gsul@qq0@q
Explanation (no .gif yet):
First, we must enter the 'hello world' text. This is pretty straightforward. It's ...
28
votes
Asciimation Jumping Jacks
CJam, 51 45 42 38 36 bytes
"c\o/
_0_""^[c_o_
0
/ \^["{_o\6e4m!}g
The above uses caret notation; the sequence ^[ is actually ...
27
votes
26
votes
Print the Oscars Best Picture Winner
Vim, 37 bytes
3iLa <esc>snd<esc>gs:s/./&<C-v>u336/g
A Moonlight
A fairly straightforward solution.
Here is an animation of it running:
25
votes
Print the Oscars Best Picture Winner
HTML, 153 148 bytes
Using CSS animation. Tested on Firefox and Chrome only.
...
23
votes
A single pixel moving in a circular path
Processing, 101 97 96 bytes
4 bytes thanks to Flambino.
1 byte thanks to Kritixi Lithos.
...
23
votes
Make an ASCII bat fly around an ASCII moon
05AB1E, 69 62 60 bytes
Saved 2 bytes thanks to Adnan.
3ð×…^o^)U13FNV0379730vð5y>;ï-y_+×N(Y-12%_Xè'my×NY-12%_y&XèJ,
Try it online!
Explanation
...
23
votes
Loading... Forever
Windows Batch, 121 114 84 80 79 78 bytes
Just throwing this out for fun.
for %%b in (/ - \ ^|)do (cls
@echo Loading... %%b
ping 1.1 -n 1 -w 250>nul)
%0
I was ...
21
votes
Loading... Forever
Node, 72 70 bytes
f=i=>console.log('\x1BcLoading... '+'|/-\\'[setTimeout(f,250,i=-~i%4),i])
Replace \x1B with the literal ...
20
votes
19
votes
Print the Oscars Best Picture Winner
HTML + JavaScript, 18 + 59 = 77 bytes
setTimeout('O.innerHTML="<s>La La Land</s> Moonlight"',1e3)
...
19
votes
Print the Oscars Best Picture Winner
Octave, 81 66 bytes
15 bytes saved thanks to @Stewie
text(0,.5,'La La Land');pause(1);text(0,.5,'---------- Moonlight')
Online Demo Here.
While the demo shows two ...
19
votes
Loading Forever... Windows style
V, 17 16 15 bytes
i[´.¶ ]<esc>ògó$X|p
<esc> is 0x1b.
And the hexdump:
...
19
votes
18
votes
I'm too cold, turn up the temperature
Vim, 24, 23 bytes/keystrokes
i40<esc>qq:sl500m
Yp2<C-a>q15@q
One byte saved thanks to @Kritixi Lithos!
Written from my phone, tested in mobile vim (...
17
votes
17
votes
Accepted
The sea in your terminal
MATL, 41 40 bytes
`'3SJp/B@Tc`@+ara'F'* 'Za6el&Xx80:@-Z)DT
Example run:
Or try it at MATL Online! (the actual speed may depend on server load).
How it works
<...
17
votes
16
votes
A single pixel moving in a circular path
QB64, 79 bytes
QB64 is a QBasic emulator that adds some nice features. This program uses one (CLS,15) that isn't supported by vanilla QBasic.
...
16
votes
Loading... Forever
Kotlin, 67 66 bytes
while(1>0)"|/-\\".map{print("\rLoading... $it");Thread.sleep(250)}
Fairly self explanatory, using \r ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
animation × 64code-golf × 58
ascii-art × 38
graphical-output × 16
kolmogorov-complexity × 14
string × 13
random × 7
popularity-contest × 5
math × 2
physics × 2
trigonometry × 2
number × 1
geometry × 1
game × 1
date × 1
matrix × 1
hello-world × 1
printable-ascii × 1
simulation × 1
recursion × 1
typography × 1
dominoes × 1
r × 1