Skip to content

Conversation

tessprime
Copy link

This also contains some code that will make it easier to define arbitrary boundaries for lines.

By having the particles stop at the first point where they
cross the boundary line, we prevent the artificial torque
exerted on the semi-rigid body.
@subprotocol
Copy link
Owner

This is great! One comment is inline. Also:

I appear to be using tabs for spacing. It looks like your editor is using spaces. Could you switch to use tabs so that the indentations match?

line 165: https://github.com/cwgreene/verlet-js/blob/master/js/verlet-js/verlet.js we may no longer need this block, as I think the groundFriction would be moved into your bounds function.

@tessprime
Copy link
Author

Sure, hopefully can get around to it this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants