264
votes
Draw the national flag of Iceland
Python 3, 190 172 171 169 167 160 159 147 143 bytes
Using PIL version 1.1.7 which has a deprecated but not removed offset method.
...
208
votes
Tweetable Mathematical Art
Table cloths
Flat
I started out putting a plaid/gingham pattern into perspective like a boundless table cloth:
...
190
votes
162
votes
Accepted
American Gothic in the palette of Mona Lisa: Rearrange the pixels
Java - GUI with progressive randomized transformation
I tried a LOT of things, some of them very complicated, then I finally came back to this relatively-simple code:
...
162
votes
133
votes
Accepted
Make a circle illusion animation
Python 3.4
Using the turtle module. The turtles are different colours and they always face in the same direction, so they can be easily seen to be moving along straight lines by just focusing on one ...
129
votes
Paint Starry Night, objectively, in 1kB of code
Pyth (no built-in compression), score 4695.07 4656.03 4444.82
Pyth’s only image-related functionality is a builtin to write a matrix of RGB triples as an image file. So the crazy idea here is to ...
122
votes
122
votes
Paint Starry Night, objectively, in 1kB of code
Mathematica, score 14125.71333
"a.png"~Export~ConstantImage[{28,34,41}/95,{386,320}]
Saves this image:
to a.png.
120
votes
Accepted
Tweetable Mathematical Art
Mandelbrot 3 x 133 chars
The first thing that popped into my mind was "Mandelbrot!".
Yes, I know there already is a mandelbrot submission. After confirming that I'm able to get it below 140 ...
120
votes
GO OUT AND VOTE
Minecraft Chat (vanilla 1.10 client, spigot 1.10 server): 19 bytes
&4I &1V&4o&1t&4e&1d
or from the clientside:
...
119
votes
119
votes
Draw the national flag of Iceland
x86 real-mode machine code for DOS COM, 69 65 63 62 bytes
The code is meant to be executed as a DOS COM executable.
Special thanks
meden, saved four bytes.
meden, saved two bytes and removed the ...
110
votes
Tweetable Mathematical Art
Julia sets
If there's a Mandelbrot, there should be a Julia set too.
You can spend hours tweaking the parameters and functions, so this is just a quick one that looks decent.
Inspired from Martin's ...
110
votes
Paint Starry Night, objectively, in 1kB of code
Java, 7399.80678201
This reminded me of a project I had in my numerical computations class a few semesters back, which was to draw a silhouette of Mount Everest using polynomial interpolation. That ...
108
votes
Mandelbrot image in every language
Sharp EL-9300 Graphics Calculator, 296 bytes
This was my secondary school graphing calculator, getting on for 20 years ago! I remember writing a mandelbrot generator for it way back then. And sure ...
107
votes
Tweetable Mathematical Art
This one is interesting because it doesn't use the i, j parameters at all. Instead it remembers state in a static variable.
...
107
votes
GO OUT AND VOTE
C, 82 80 78 74 54 bytes
Thanks to @WillihamTotland and @criptych for saving 2 bytes each!
f(){puts("␛[47;31mI␛[34m V␛[31mo␛[34mt␛[31me␛[34md");}
Where ...
106
votes
103
votes
American Gothic in the palette of Mona Lisa: Rearrange the pixels
Perl, with Lab color space and dithering
Note: Now I have a C solution too.
Uses a similar approach to aditsu's, (choose two random positions, and swap the pixels at those positions if it would make ...
103
votes
101
votes
Accepted
Draw random black-and-white forest
C: 3863 1144 1023 999 942 927
The original solution saves 2 pnm files per run (one with g appended, before dithering). Because the dithering wasn't beautiful for the first few lines, there is a hack ...
98
votes
93
votes
Paint Starry Night, objectively, in 1kB of code
Python3.4+, 4697.26
I used the same method as in my ImageMagick answer, but with the following parameters:
...
93
votes
Accepted
Display random colored pixels
Minecraft 1.12 Redstone Command Blocks, 4,355 2,872 bytes
(Size determined by saved structure block file size.)
Here is a full YouTube overview, but I'll try to outline the code below.
Setup Routine:
...
89
votes
Accepted
Is it dark outside? Draw a sun map!
Haskell - low quality code
I was extremely tired when I wrote this.
I might have gone too far with projections idea, anyway, here's the projection the program uses. Basically like projecting earth ...
88
votes
Mandelbrot image in every language
I came across this the other day. I don't take credit for it, but damn, is it awesome:
Python 2:
...
Community wiki
88
votes
Accepted
Implement the Game of Life on Anything but a Regular Grid
Penrose rhombii in Python, +97 points
I chose a penrose tiling composed of two different shaped rhombuses, meeting 3-8 per vertex. This penrose tiling is proven aperiodic elsewhere. The simulation is ...
88
votes
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
graphical-output × 331code-golf × 251
popularity-contest × 56
image-processing × 55
geometry × 42
kolmogorov-complexity × 40
ascii-art × 29
fractal × 22
code-challenge × 21
math × 20
animation × 15
random × 11
number × 8
color × 8
game × 6
tiling × 6
compression × 5
cellular-automata × 5
trigonometry × 5
game-of-life × 5
sequence × 4
integer × 4
grid × 4
path-finding × 4
hello-world × 4