Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected some minor typos #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ChainSimulation.html
Original file line number Diff line number Diff line change
Expand Up @@ -640,11 +640,11 @@ <h2>Simulation loop</h2>
In every case we will have to:
<ul>
<li>Compute the Jacobian</li>
<li>Uses a velocity bias to prevent drift/stretching (Baumgarte stabilization): $$b = \frac{\beta}{t} \cdot C$$</li>
<li>Compute the inverse of $JM^{-1}J^T$ (this is why we want smaller jacobians).</li>
<li>Compute lagrange multipliers (anything that multiplies a derivative that points in the direction we want is called a lagrange multiplier, this is just to scare people).</li>
<li>Use a velocity bias to prevent drift/stretching (Baumgarte stabilization): $$b = \frac{\beta}{t} \cdot C$$</li>
<li>Compute the inverse of $JM^{-1}J^T$ (this is why we want smaller Jacobians).</li>
<li>Compute Lagrange multipliers (anything that multiplies a derivative that points in the direction we want is called a Lagrange multiplier, this is just to scare people).</li>
$$\lambda = -\frac{J \cdot v_{tentative} + b}{JM^{-1}J^T}$$
<li>And the velocity gets corrected(so it meets the constraints) by applying:</li>
<li>And the velocity gets corrected (so it meets the constraints) by applying:</li>
$$v_f = v_{tentative} + \lambda J^T$$
</ul>
<li><b>Rendering:</b> Draws particles and links.</li>
Expand Down