268 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. ...
Gábor Fekete's user avatar
140 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 ...
Anders Kaseorg's user avatar
124 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.
LegionMammal978's user avatar
121 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: ...
tuskiomi's user avatar
  • 3,831
120 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 ...
Margaret Bloom's user avatar
112 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 ...
ndenarodev's user avatar
  • 1,221
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 ...
betseg's user avatar
  • 8,753
105 votes

Draw the ☣ (Biohazard Symbol)

T-SQL, 442 441 426 355 349 344 bytes ...
BradC's user avatar
  • 6,767
95 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: ...
orlp's user avatar
  • 39k
94 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: ...
BradC's user avatar
  • 6,767
90 votes
Accepted

Create a Paint program!

8086 machine code, 32 31 28 26 bytes ...
user5434231's user avatar
  • 1,646
88 votes

Paint Starry Night, objectively, in 1kB of code

Python 3, score 5701.31 ...
kennytm's user avatar
  • 6,987
84 votes

Draw the Ukrainian Flag

HTML+SVG, 39 bytes <svg viewbox=12.5,-8.9,1.5,1><text>😴 The question forbids zooming in on the Ukraine flag... but not the flag of Sweden! Apparently ...
emanresu A's user avatar
  • 35.7k
77 votes

Draw the national flag of France

Pure Bash (on OSX), 84 The default OSX terminal supports full colour emojis. Not sure if this counts as text or graphical output. ...
Digital Trauma's user avatar
75 votes

GO OUT AND VOTE

Google Blockly, 10 14 blocks, 28 41 35 blytes Code Output Try it here Not counting the hide turtle block because it's just aesthetics. A blyte is a combination ...
Bassdrop Cumberwubwubwub's user avatar
74 votes

Paint Starry Night, objectively, in 1kB of code

Java, 8748.95 Another approach: I created a class that computes a Voronoi Diagram from a given set of points. This set of points is used as the parameter set that serves as the input for the Apache ...
Marco13's user avatar
  • 1,191
68 votes

Draw/plot a heart graph

TI-80 BASIC, 45 43 41 39 bytes LBL 1 RAND4-2->X RAND4-2 IF (X²+ANS²-1)³<X²ANS³ PT-ON(X,ANS GOTO 1 This took a while, and my battery is low so I didn't want ...
12Me21's user avatar
  • 6,641
58 votes

Appease Your Google Overlords: Draw the "G" Logo

Mathematica, 229 226 225 224 221 206 169 bytes Thanks @MartinEnder for 1 byte, @ChipHurst for 37 bytes! ...
JungHwan Min's user avatar
  • 13.8k
57 votes

Draw the national flag of Iceland

C, 194 191 183 Bytes ...
Giacomo Garabello's user avatar
54 votes

Draw the national flag of France

Desmos, 30 12 bytes 3x>10 3x<-10 Try it online. I'm not entirely sure if this is valid, please let me know if there are any issues.
a spaghetto's user avatar
  • 11.2k
49 votes

Paint Starry Night, objectively, in 1kB of code

Python 2, 4749.88 1018 bytes Everybody has probably forgotten about this problem by now, except me.... This problem interested me far too much, especially as it quickly became apparent that approaches ...
Strawdog's user avatar
  • 691
49 votes

GO OUT AND VOTE

HTML, 52 bytes I <c>V<e>o<c>t<e>e<c>d<style>*{color:red}c{color:0ff
noɥʇʎԀʎzɐɹƆ's user avatar
47 votes

Draw/plot a heart graph

Perl, 86 bytes $y=1-$_/25,say+map$y**3*($_*=$_/1e3)-($_+$y**2-1)**3>0?$|--?v60:3:$",-40..40for-6..50 Run with perl -E. ...
Grimmy's user avatar
  • 15.6k
47 votes
Accepted

Draw the flag of Bangladesh

Wolfram Language (Mathematica), 23 bytes ¯\__(ツ)_/¯ of course there is a built in for this... "BD"~CountryData~"Flag" but you can also get ...
ZaMoC's user avatar
  • 24.4k
46 votes

Paint Starry Night, objectively, in 1kB of code

Windows BAT file, score 4458.854 ...
yallie's user avatar
  • 561
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 ...
Flambino's user avatar
  • 1,041
45 votes

Patch the Image

Matlab This is a simple interpolation approach. The idea is first mirroring what is on each side of the patch. Then those mirror image pixels are interpolated by how close they are to the ...
flawr's user avatar
  • 43.7k

Only top scored, non community-wiki answers of a minimum length are eligible