After blizzard is gone,

from sage.plot.plot3d.shapes import *
P = Graphics()
P += Sphere(.5, color='white')
P += Sphere(1, color='white').translate(0,0,-1.2)
P += Sphere(1.5, color='white').translate(0,0,-2.5)
P += Sphere(.1, color='white').translate(.45,-.1,.15) + Sphere(.05, 
color='black').translate(.51,-.1,.17)
P += Sphere(.1, color='white').translate(.45, .1,.15) + Sphere(.05, 
color='black').translate(.51, .1,.17)
P += Cone(.1,.5, color='orange').rotateX(0).rotateY(-pi/2).translate(.3, 0, 
0)
P.show()

Exercise: add arms to the snowman.

On Saturday, January 15, 2022 at 5:44:08 PM UTC+9 Emmanuel Charpentier 
wrote:

> Homework ?
>
> Le vendredi 14 janvier 2022 à 19:41:05 UTC+1, iva.po...@gmail.com a 
> écrit :
>
>> Sorry, here is the picture how snowman has to look like..I started 
>> drawing with a Sphere, but I can't get it like in the picture. 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/8204afd1-f99e-4a69-9ddc-19f148cefe61n%40googlegroups.com.

Reply via email to