Skip to content

pmnguyn/Computer-Graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

For this project, I will implement a set of function in python to create a simple animated scene. The scene is motionless and has no perspective:

Figure_1

After being implemented, the house rotates around the y-axis. Each step of the animation will be called with i equal to the step number. It should achieve one full rotation during the 150 steps of the animation. On step 150, it should be back to where it started.

house.mov

Next, make the ball move a total of 20 units to the right when seen from the front. At the end of the 150 steps, it should have moved the full distance; in between, it should move in equal steps.

ball1.mov

Finally, I will make the ball roll around its center naturally. For each rotation, I will translate the ball to the origin, apply the rotation, and then translate the ball to its proper location. The ball should make one full rotation over the 150 steps. At the end of the 150 steps, it should be in the same orientation as it started.

ball2.mov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages