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),randint(-100,100),randint(-10,10)) rcolor=randint(0,3) rsize=randint(0,3) ball=sphere(pos=place,radius=rsize,color=thecolors[rcolor])
pcardout 3 years ago
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),randint(-100,100),randint(-10,10)) rcolor=randint(0,3) rsize=randint(0,3) ball=sphere(pos=place,radius=rsize,color=thecolors[rcolor])
pcardout 3 years ago