Added: 3 years ago
From: urnerk
Views: 1,312
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (1)

Sign In or Sign Up now to post a comment!
  • I am running Debian "etch". These instructions are about the same for any Ubuntu users.

    I merely did an

    apt-get install python-visual --

    Here's the code:

    [YouTube messed up format]

    from visual import *

    from random import randint

    thecolors=[color.green, color.red, color.orange, color.magenta]

    for i in range(1000): place=(randint(-100,100),randi­nt(-100,100),randint(-10,10)) rcolor=randint(0,3) rsize=randint(0,3) ball=sphere(pos=place,radius=r­size,color=thecolors[rcolor])

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more