Questions tagged [animation]
This tag is for challenges involving an output (graphical or ASCII-art) which changes with time.
64
questions
5
votes
2
answers
311
views
My eight braille pattern progressive snake spinner
Introduction
I would like to drawn a nice spinner by using eight braille patterns on two lines, drawing a square of 8x8 pixel, for showing a kind of snake growing and reducing:
...
16
votes
15
answers
2k
views
Loading Circle Animation
Loading Circle Animation
Challenge
Write a full program that takes no input (or has an unused input) that displays exactly the following ASCII animation for as long as possible or only 8 frames.
Frame ...
6
votes
3
answers
389
views
Golf me a polygonal loader
Codidact post, CGCC Sandbox, Codidact Sandbox
Given three positive integers as input, animate an ascii-art polygonal loading symbol on the screen.
Intro
You will be given three inputs, \$n\$, \$l\$, ...
9
votes
6
answers
424
views
Help Notwen simulate gravity!
Notwen wants to study the kinematics of bodies thrown from big heights in a uniform gravitational field but unfortunately he doesn't have the technical possibility to go to sufficiently high places ...
9
votes
14
answers
953
views
Simulate a Cisco Ping
Premise:
For those in networking, you've most likely sent a ping to or from some device to make sure everything's properly connected. Cisco, a popular company in networking[citation needed], has a ...
24
votes
5
answers
2k
views
Animate Jacob's ASCII Ladder
You may have seen Jacob's Ladder in children's science museums. If you're not familiar with what they look like, there are several images and video examples on the Wikimedia Commons. The challenge ...
6
votes
3
answers
674
views
Make a hammer animation
The goal is to make a two frame animation with ASCII art of a hammer smacking a table.
Trailing white-space is allowed and the frames need to repeat continuously. The program should iterate over both ...
44
votes
10
answers
6k
views
Falcon Heavy stages
Choose a set of four bytes without replacement (i.e. no byte repeated), and not necessarily in any particular order, from any one of the following four sets:
The characters of any one single-byte ...
19
votes
2
answers
3k
views
Implement the Boids algorithm
Introduction
The Boids Algorithm is a relatively simple demonstration of emergent behavior in a group. It has three main rules, as described by its creator, Craig Reynolds:
The basic flocking model ...
22
votes
10
answers
2k
views
Create a scissors animation!
Try to create a simple ASCII art scissors animation!
Challenge
All inputs will be integers -31 through 31.
The output will be an animation (To be outputted somewhere, as long as the previous frame is ...
17
votes
6
answers
2k
views
The Double Slit Experiment
A lazy physicist has the job to perform the double slit experiment. However, they are lazy and can't be bothered to set up all the equipment themselves and so are going to simulate the effects. They ...
16
votes
2
answers
457
views
Show me some fireworks!
Given, in any way and order,
dimensions (in whichever order you want)
a probability (in whatever format you want)
number of iterations (you may choose whether to count the initial state or not)
do ...
11
votes
1
answer
933
views
Sinusoidal ASCII-art animated text
I somewhat miss those old demos showing the capabilities of computers when they were called x86 instead of i3, i5 and i7. One of the first I watched in my 386 was the Unreal demo from Future Crew that ...
4
votes
4
answers
330
views
The dot is chasing me! [closed]
Your Task
Write a program that displays a dot that moves toward the position of your mouse at 4 pixels per second. The dot must be 100 pixels big and the window must fill the computer screen.
Input
...
25
votes
3
answers
606
views
Buzzby Berkeley Robot Hokey Pokey
Buzzby Berkeley Robot Hokey Pokey
Task
Write a program or function to produce an ASCII art animation depicting a line of robots dancing to the lyrics of the Hokey Pokey (or Cokey, if you prefer) in ...
24
votes
10
answers
921
views
Raindrops are falling on my... glasses?
I live in the UK, where it rains. A lot. I also have the unfortunate necessity to need to wear glasses to see, which means that when it rains (as it is now), I can barely see out of them. This ...
17
votes
1
answer
548
views
Mow a Rectangular Lawn
A lawn is defined as a rectangular field with of one character surrounded by two layers of visible whitespace. This means two lines above and twos lines below, and a two space padding on the left (the ...
35
votes
50
answers
6k
views
Loading Forever... Windows style
Make a Windows style Loading bar by the following instructions.
(notice that this is different than Loading... Forever)
Your output should start by [.... ].
...
15
votes
11
answers
791
views
Easier communication means… ○ circular edition!
Based on this, but I was asked[1],[2] to do a graphical edition.
Task
Generate a circular display of the text ...
29
votes
46
answers
5k
views
Easier communication means faster coding means fewer coders means …
My father who was a really good APLer and taught me all the basics of APL (and much more), passed away on this day, five years ago. In preparation for 50 Years of APL, I found this patent letter (...
23
votes
14
answers
3k
views
Make a Bubble-wrap simulator
Bubble-wraps are maximum-level entertainment. Everyone can agree to that.
Now, you will make even computers enjoy bubble-wraps.
Specs
You will be given two integers, w, and h.(each are responsively ...
49
votes
32
answers
7k
views
Print the Oscars Best Picture Winner
This challenge is in tribute to the winner of Best Picture at the Oscars 2017, La La Land Moonlight!
Your challenge is to print the text La La Land pause one second, then change the text to show
La ...
17
votes
8
answers
1k
views
Visualize the Euclidean algorithm
The Euclidean algorithm is a widely known algorithm for calculating the greatest common divisor (GCD) of two positive integers.
The algorithm
For the purpose of this challenge, the algorithm is ...
14
votes
20
answers
932
views
Output Keystrokes
In any programming language, create a program that takes input and animates the text being typed on a keyboard.
The delay between each character should be varying to simulate true typing on a ...
24
votes
27
answers
4k
views
8-bit style bouncing ball around a canvas
Inspired by this listing from the Commodore 64 User's Guide:
...
46
votes
52
answers
16k
views
Animate the text in your terminal
Animate the text in your terminal
The goal
The goal is to "animate" the string "Hello world" in your output so that each character gets capitalised after each other.
Your program can exit after ...
25
votes
11
answers
3k
views
It's raining in my terminal!
Challenge Description
You have to show a simulation of rain in terminal.
In the example given below its adding 100 raindrops at random (use the default random function which your language offers) ...
24
votes
19
answers
6k
views
ASCII Art "Flight Simulator"
EDIT
It appears that there has been some confusion following my typo in the original post which used a lowercase o to define the plane and then an uppercase later. Unfortunately this bug did not get ...
12
votes
10
answers
866
views
Kids shuffling cards
Shuffling a deck of cards is hard for kids, so they must figure out ways to get a reasonable well shuffled deck as simply as possible.
One way to do this that gives reasonably good results is:
Take ...
1
vote
0
answers
85
views
Stage Fright Snowman! [duplicate]
Help! Here is my good friend Mr. Snowman:
\(.,.) < Hello!
( : )>
He is an amazing dancer, but he tends to get stage fright. He knows all the moves, but ...
46
votes
71
answers
5k
views
Blinking twelve
Many electronic devices, specially old ones, will show a blinking 12:00 when the time has not been set. The purpose of this challenge is to recreate this.
...
22
votes
9
answers
1k
views
<("<) Bird Dancer (>")>
Your bird has been itching for some exercise and is sick of being stuck in static positions all the time. Write a program that will show a randomly dancing ascii bird, updating every 100ms*n or 200ms*...
22
votes
6
answers
1k
views
Animate tacky light decorations
This challenge is in honor of the tacky Christmas lights at my in laws' house.
The challenge is to create a graphical output showing the decoration in "real time".
The video (gif or other format) ...
18
votes
4
answers
1k
views
A 2D Traffic Jam
The Biham-Middleton-Levine traffic model is a self-organizing cellular automaton that models simplified traffic.
It consists of a number of cars represented by points on a lattice with a random ...
5
votes
4
answers
200
views
Activate the auto destruct sequence [duplicate]
This is a code golf. The smallest amount of bytes wins! :)
What you need to do
You're on Deep Space Nine, a Cardassian outpost taken over by the Federation, in ...
53
votes
53
answers
5k
views
I'm too cold, turn up the temperature
This is my first golf contest.
What you need to do
Build me, in the shortest amount of bytes possible, my AC remote control system. My room is too cold right now, and I'm missing my remote.
Now, I ...
8
votes
3
answers
699
views
2D Dungeon Crawler
Your program has to take a multi-lined string, like this:
#############
# #
# p #
# #
#############
...
46
votes
24
answers
4k
views
The sea in your terminal
Background
Summer is well over in the Northern Hemisphere, and a lot of us miss the sun, the beaches, the waves of the ocean... This challenge aims at cheering them up by reminding them of the sea.
...
121
votes
102
answers
18k
views
Loading... Forever
Your challenge is to make an infinite loading screen, that looks like this:
Or, to be more specific:
Take no input.
Output Loading..., with a trailing space, but ...
24
votes
3
answers
526
views
Peel the potato
This is a potato:
@@
@@@@
@@@@@@
@@@@@@
@@@@
@@
More generally, a size N potato is defined as the following shape:
If N is even, it is 2 centered ...
11
votes
7
answers
735
views
Building Demolition
Challenge
Write a full program/function to Demolish a given building at the rate 1 floor per second.
INPUT
Input is a building through STDIN(or whatever is called in your language) or through an ...
34
votes
14
answers
9k
views
Make an ASCII bat fly around an ASCII moon
Background
Here is a Halloween related challenge.
As you may have seen from my last challenge I quite like what I term as ascii art animations, that is not just draw a pattern but draw a pattern ...
8
votes
7
answers
664
views
Let's get Animated!
The Challenge
GIFs are the most common image format for animation, and are used pretty heavily in today's social media. For the purpose of this challenge, I'm going to redefine what a GIF can be. ...
10
votes
7
answers
745
views
Create your own Gym Exercise and follow along irl
Let's do an exercise together, shall we? Simply follow the movements of the stickman. What stickman you ask? The one we are about to create!
Make a program that allows for a string-input only ...
6
votes
3
answers
324
views
It's snowing in my consoles window!
You love watching the snow falling outside, but you know it won't be snowing much longer. You could take a video, but decide to make a snow animation because ... um ... you need to practice your ...
105
votes
3
answers
4k
views
Sprocket Science: Animating a Chain Drive System
The goal of this challenge is to produce an animation of a chain drive system, comprised of a set of sprocket gears connected together by a chain.
General Requirements
Your program will be given a ...
5
votes
3
answers
635
views
Get happy and mad
Requirements
You need to make a smiley face go from smiling to frowning and back. There needs to the below faces in the code: Smiling, no expression, frowning, no expression, and then back to smiling....
18
votes
11
answers
1k
views
Proto space invaders (can you blit it?)
Proto space invaders
This is a graphical output challenge where the task is to give the shortest code per language.
Task
Your code should allow the user to move the following alien around the ...
44
votes
47
answers
9k
views
A single pixel moving in a circular path
This is a graphical output challenge where the task is to give the shortest code per language.
Task
Your code should plot a single purple pixel (hex value #800080 or
rgb(128, 0, 128)), moving ...
23
votes
7
answers
2k
views
Watch 'em fall like dominoes
You live inside a terminal that is 80 characters wide. You are bored, so you decide to play dominoes. No, not the boring kind that look like Scrabble, the fun kind where you spend an hour setting them ...