Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am jasonfarrell on github.
  • I am jasonfarrell ( on keybase.
  • I have a public key ASATfrK66z-ad1citJqORzm5BK4RTTRu-m-xQdbC7Rae0Qo

To claim this, I am signing this object:

View cloth.js
* Cloth Simulation using a relaxed constrains solver
// Suggested Readings
// Advanced Character Physics by Thomas Jakobsen Character
jasonfarrell / Tab changes
Created Jul 12, 2013
Firefox Tips — Code from 2009 article by Use All Five. This is most likely out of date.
View Tab changes
gBrowser.tabContainer.addEventListener("TabSelect", function(e) { onTabChange();}, false);
jasonfarrell / usage.js
Last active Feb 23, 2021
Checks if a DOM element is visible. Takes into consideration its parents and overflow.
View usage.js
var my_element = document.getElementById('my-element');
//-- Returns true/false