Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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].
3
votes
Approximate a Bell Curve
Java
Throwing 6 dice in every possible combination approaches a 'normal distribution', which happens to be a bell curve.
public class Temp {
public static void main(String[] args) throws Excepti …
2
votes
Mexican Hat Challenge, #メキシカンハットチャレンジ
Floater (385 pixels)
Enlarged:
Image after execution:
Higher fidelity shot by changing the first pushed value from 6 to 12:
Bonus work-in-progress shot:
[Edit] Actually this can be smaller, but r …
8
votes
Animated drawing of a Bézier curve
Java
Using the adaptive subdivision algorithm of Anti Grain Geometry.
Code is interactive and allows the user to drag the four nodes with the mouse.
public class SplineAnimation extends JPanel impl …
10
votes
Accepted
Build a digital clock in Wireworld
Binary counter clock (score = 134×33 = 4422 134×32 = 4288)
As promised 2⅔ years ago. Actual building time from scratch was less than 3 days.
I took inspiration from several sources, but in the end eve …
140
votes
Images with all colors
I got this idea from user fejesjoco's algorithm and wanted to play a bit, so I started to write my own algorithm from scratch.
I'm posting this because I feel that if I can make something better* than …
4
votes
Mandelbrot image in every language
QBasic, QuickBasic, QB64 - 156 153
SCREEN 13
FOR J=0TO 191
B=J/48-2
FOR I=0TO 191
A=I/48-2
X=A
Y=B
C=0
DO
U=X*X
V=Y*Y
Y=2*X*Y+B
X=U-V+A
C=C+1
LOOP UNTIL C>247OR U+V>4
PSET(I,J),C
NEXT
NEXT
Standard …
5
votes
Mandelbrot image in every language
Floater, 620 pixels
A language I made up when I got inspired by my own challenge, as well as from the esoteric language Piet.
2
votes
Produce an image based on an elementary cellular automata ruleset
Java, 247 bytes
import java.awt.image.*;r->{BufferedImage i=new BufferedImage(31,16,1);int[]p=((DataBufferInt)i.getRaster().getDataBuffer()).getData();p[15]=-1;for(int a=31;a<496;a++)p[a]=r<<31-(p[ …