본문 바로가기
Python Library/VPython

[VPython] Math Functions

by goatlab 2022. 1. 18.
728x90
반응형
SMALL

Math Functions

 

 

https://www.glowscript.org/docs/VPythonDocs/math.html

 

VPython Help

Math Functions For versions of Python prior to 3.0, Python performs integer division with truncation, so that 3/4 is 0, not 0.75. This is inconvenient when doing scientific computations, and can lead to hard-to-find bugs in programs. In the Web VPython env

www.glowscript.org

 

 

https://www.glowscript.org/docs/VPythonDocs/vector.html

 

VPython Help

The vector Object The vector object is not a displayable object but is a powerful aid to 3D computations. Its properties are similar to vectors used in science and engineering. vector(x,y,z) This creates a 3D vector object with the given components x, y, a

www.glowscript.org

 

 

728x90
반응형
LIST

'Python Library > VPython' 카테고리의 다른 글

[VPython] Miscellaneous (1)  (0) 2022.01.18
[VPython] Mouse and Keyboard Events  (0) 2022.01.18
[VPython] Animations  (0) 2022.01.18
[VPython] Graphs (2)  (0) 2022.01.17
[VPython] Graphs (1)  (0) 2022.01.17