Skip to content

LeventeFarkashazi/Computer-Graphics-HW-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics HW 1

Assignment:

image

Translation: Create a molecular docking application. SPACE always results in two molecules, with a Coulomb force between their atoms, which moves or rotates the molecules. The atoms of the molecules are subjected to an interfacial drag proportional to their velocity. A molecule is a rigid structure of atoms with a random graph topology. The number of atoms is a random number between 2 and 8. The mass of the constituent atoms is a random positive integer multiple of the mass of the hydrogen atom and the charge of the electron. The total charge for each molecule is zero. The molecules move in 2D Euclidean space, the atoms here are circular, the edges of the graph within the atom are white and are sections in Euclidean geometry. Positively charged atoms are red and negatively charged atoms are blue, with intensity proportional to charge. Our microscope maps the Euclidean plane onto the hyperbolic plane, preserving the x, y coordinates, and then displays it using the Beltrami-Poincaré mapping on a circle of maximum radius that can be drawn on a 600x600 resolution screen. The s,d,x,e keys are used to shift the Euclidean virtual world left, right, down and up by 0.1 units. The time step can be 0.01 sec regardless of the drawing speed.

Result:

About

BME-VIK Computer Graphics HW1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published