Gli oggetti 3D di vpython vengono visualizzati all’interno di una finestra grafica, canvas, immersa in una pagina web
canvas() | |
| Più canvas | |
camera | |
| OGGETTI | |
| Oggetti 3D | |
| singoli | arrow(), box(), cone(), cylinder(), ellipsoid(), helix(), pyramid(), ring(), simple_sphere(), sphere() |
| multipli | curve(), points() |
| testi | label(), text() |
| OGGETTI | “Allegati” |
attach_arrow() | |
| scia | interval, make_trail, pps, retain, trail_radius, trail_type |
| luci | ambient, attach_light(), distant_light(), local_light() |
| liste | lights, objects |
| ATTRIBUTI | |
| Attributi degli oggetti 3D | |
color, emissive, opacity | |
texture | |
| METODI | |
x.clear_trail(), x.clone(), x.rotate() | |
| FUNZIONI | |
rotate() |