22nd of March
VPython
I followed the tutorial on Youtube and was given the assignment to replicate this 3D model:
This is what my coding came to be:
And then, they asked me to learn to use the # function, that allows the program to ignore certain lines of coding momentarily. Also they asked me to reduce the length of one of the arrows by half, and make it point in the opposite direction.
The reduced arrow is on the bottom sphere, barely visible.
The next assignment looks like this:
This is the way I code mine:
For the final assignment, they wanted to show the function of 'print'. This is what I coded:
No comments:
Post a Comment