Results 1 to 15 of 16

Thread: curve with straight lines

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    Quote Originally Posted by Cloud No.9
    unne did it silly. it was too long. and it don't look like ada to me.
    Ah, too long. OK...

    <pre style="font-size:8pt">perl -MTk -MTk::Canvas -e '$c=MainWindow->new->Canvas->pack;$c->createLine(0,$_,250-$_,0)for(0..250);MainLoop'</pre>
    I agree ADA is next to worthless.

    EDIT: Ruby is only like C on the surface. Ruby is pretty nice. The code I wrote looks like C because GTK is based on C and it's just using a Ruby wrapper over GTK. A Ruby-ish program written in Ruby looks quite different.
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •