Questions tagged [graphical-output]
This challenge involves drawing pictures on a screen or generating image files. For pure ASCII art contests, use [ascii-art] instead. If participants can choose between graphics and ASCII art, use both tags. For images as input, use [image-processing].
360 questions
19 votes
12 answers
2k views
Make an animated winking smiley 😉
Recently, I've been looking more and more into retrogaming programming, and I saw this nice example from an old GBDK wiki (A tool to make Gameboy games with C, replaced by GBDK-2020): This example ...
14 votes
3 answers
395 views
Draw the caustics in a cup
If you have ever consumed liquid from a shallow cup in sunlight, you may have noticed a shape like the following at the bottom: You might notice a nephroid shaped bright outline, a brighter area on ...
20 votes
12 answers
3k views
Mexican Hat Challenge, #メキシカンハットチャレンジ
The hashtag #メキシカンハットチャレンジ* appeared on my X/twitter feed today. Japanese hackers have been drawing the "Mexican Hat Potential" 3D curve on all sorts of ...
8 votes
7 answers
3k views
Waiting girl's face
In June 2023, at Xenium Party 2023, a 4KB intro created by Wacek, Luke, and Jammer for the Commodore 64 was presented, featuring the face of a waiting girl. The task is to write the shortest possible ...
12 votes
1 answer
487 views
Plot the ground path of a satellite
If you model a satellite as a free point orbiting a body, you can pretty easily see it has 6 degrees of freedom: three for the X, Y, and Z position, and three for the X, Y, and Z velocity. However, ...
19 votes
5 answers
3k views
Draw a Fibonacci Swoosh
Title courtesy of Greg Martin For this challenge, I'll define an arc of size \$k\$ as a single piece of a sine wave with a length of \$k\$ units and an height of \$\frac{k}{4}\$ units: And I'll ...
7 votes
3 answers
309 views
Inscribe a maximal regular polygon into a square image
You want to draw a regular polygon but you have limited space! In this challenge, you should draw a polygon with n sides which is as big as possible for a given square container image. I found ...
16 votes
3 answers
565 views
Convert numbers to dice patterns
The way points are assigned on a dice follows a regular pattern, the center dot is present if and only if the number is odd. To represent the even numbers, pairs of dots on opposite sides of the ...