Warning: Undefined array key "which" in /srv/hosted/pouet/sites/www.pouet.net/prod.php on line 1055
Sierpinski 29bytes :: pouët.net

pouët.net

Sierpinski 29bytes
[nfo]
screenshot added by Optimus on 2002-01-08 11:22:49
platform :
type :
release date : january 2002
  • 8
  • 3
  • 0
popularity : 56%
 56%
  • 0.73
alltime top: #11900
added on the 2002-01-08 11:22:49 by Optimus Optimus

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr

comments

I decided to add this, since several people asked for it. I don't know which is the coder of this tiny thing. I had a smaller 21bytes version somewhere, but I lost it. I would love to have it from someone out there!
rulez added on the 2002-01-08 11:25:02 by Optimus Optimus
I think it was ryg^fr who did it.
really a nice thingie indeed :)
rulez added on the 2002-01-08 11:56:41 by styx^hcr styx^hcr
nope, my version is a lot smaller :)

i'll post it once i get home...
added on the 2002-01-08 11:59:50 by ryg ryg
way 1: buf[y*pitch+x]=(x&y)==0;
way 2: t[rnd%3]+=size,plot(t[0]>>=1,t[1]>>=1);

aint this pretty trivial stuff?
added on the 2002-01-08 12:14:25 by 216 216
great!
_216_: yes it is, but doing it in less 32bytes isn't
rulez added on the 2002-01-08 14:07:39 by p01 p01
way 3: vm[320*199+160]=1,vm[i]=vm[i+321]^vm[i+319].

gosh. i'm impressed.
these algos, like, sound so much more than 5-10 instructions.
added on the 2002-01-08 14:54:25 by 216 216
way #3 seems really short ( and clever ) !!
I'll try that tonight
added on the 2002-01-08 15:27:52 by p01 p01
Here is a 22 bytes version. It's not the same sierpinski. It does not return to textmode. I suck. ;-)

org 100h
lds bp,[bx]
mov al,13h
int 10h
mov si,2080
again: xor al,[si]
mov [si+319],al
dec si
lodsw
jns again
int 16h
ret
rulez added on the 2002-01-08 20:12:02 by mados mados
21 bytes version. Replace "lds bp,[bx]" by "push word 0A3E2h pop ds" and drop "mov si,2080".
added on the 2002-01-08 21:30:54 by mados mados
I've got this on my TI-86, it takes over half an hour to draw it on the calc :)
added on the 2002-11-10 02:19:00 by Entropia Entropia
then the author seemingly used an IFS :)
added on the 2002-11-10 11:41:51 by ryg ryg
cool :)
rulez added on the 2004-01-20 23:10:11 by Gargaj Gargaj
Best Sierpinski.
rulez added on the 2005-05-12 13:48:12 by Pirx Pirx
Smallest Sierpinski (in comments).
rulez added on the 2011-08-22 09:56:22 by closed closed
.
rulez added on the 2012-05-25 14:27:38 by las las

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment