skip to main | skip to sidebar

Green shade

This is my playground. Here you will find grass, swings, slides, aunties sitting and talking on benches, old people walking, young people jogging, pesky little kids playing cricket and of course Me. Return to your work now, or be trapped here forever.

Friday, February 10, 2006

Sierpinski triangle

Saw this on someone's slashdot signature. Copy, paste, compile and run.


main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
Posted by Rohit at 6:34 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2007 (2)
    • ►  March (1)
    • ►  January (1)
  • ▼  2006 (123)
    • ►  December (3)
    • ►  November (8)
    • ►  October (5)
    • ►  September (6)
    • ►  August (3)
    • ►  July (9)
    • ►  June (6)
    • ►  May (14)
    • ►  April (19)
    • ►  March (16)
    • ▼  February (23)
      • Saved by the strike
      • Final game: The farewell gift.
      • Another textured terrain
      • A textured terrain
      • Skybox
      • Venom ??
      • Match 2
      • Google pages
      • Another day in the calendar...
      • Inzy winzy spider
      • Random musings
      • Satya ki khoj
      • LMAO
      • My advanced weight loss tactics
      • Presenting another distraction
      • 1 + 1 = 4
      • Sierpinski triangle
      • This post is dedicated...
      • I yum back
      • Tornado cup and more basketball
      • CS vs IT
      • CS vs Mech
      • This one just in.
    • ►  January (11)
  • ►  2005 (188)
    • ►  December (14)
    • ►  November (23)
    • ►  October (27)
    • ►  September (8)
    • ►  August (30)
    • ►  July (16)
    • ►  June (14)
    • ►  May (20)
    • ►  April (11)
    • ►  March (4)
    • ►  February (14)
    • ►  January (7)
  • ►  2004 (30)
    • ►  December (17)
    • ►  November (8)
    • ►  October (5)

Links

  • My home page
  • My code blog
  • Slashdot
  • Open-source institute
  • Gentoo
  • 43things

About Me

Rohit
View my complete profile