

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Our methods can in fact achieve fair degrees of realism
Let’s consider an alternative approach to realism
we can simulate their physical motion
Keep in mind that we don’t always want to mimic nature
or
d
ma
dt
m
m
2
x
x
position of particle
velocity vector of particle mass of particle
i i
i
i
i
m
i
x v velocity acceleration
sum of all forces acting on particle
i
i
i i
i
i
i
i
d
dt
d
d
dt
dt
2
x
v
x v
x
a
x
f
so
i
i
i
i
i
t
m
t
t
t
m
f
a
f
x
i
x
i
v
y
axis points
up
Force due to gravity is simply
gravitational constant
m
sec
on Earth
i
m
g
g
2
f
Force of spring acting on particle
i
is given by Hooke’s Law
i
s
k
s
d
f
d
d
i
x
y
i
d
x
y
Try
XSpringies
[http://www.cs.rutgers.edu/~decarlo/software.html]
or
JSpringies
[http://www.jcraft.com/jspringies/]
spring constantrest length
s
k s
i
s
d
k
s
k
d d
d
f
d
d
d
i
x
y
i
d
x
y
spring constantdamping factor rest length
s d :
k k s
i
d
x
y
Inverse-square repulsion
3
i
r
k
d
f
d
Gravitational Attraction
1
2
3
i
m m
d
f
d
1
1
n
n
t
u
x
v
x
v
1
1
1
1
1
1
1
n
n
n
n
n
n
n
t
m
m
u
x
v
x
v
v
a
v
a
f
f
v
v