This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function trigger(el, eventType) { | |
if (typeof eventType === 'string' && typeof el[eventType] === 'function') { | |
el[eventType](); | |
} else { | |
const event = | |
eventType === 'string' | |
? new Event(eventType, {bubbles: true}) | |
: eventType; | |
el.dispatchEvent(event); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mixamo Animation downloadeer | |
// The following script make use of mixamo2 API to download all anims for a single character that you choose. | |
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI. | |
// | |
// This script has been written by [email protected] and the author is not responsible of its usage | |
// | |
// How to use this script | |
// 1. Browse mixamo.com | |
// 2. Log in | |
// 3. Open JS console (F12 on chrome) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
# Jonathan Cardasis, 2018 | |
# | |
# Cleans up a collada `dae` file removing all unnessasary data | |
# only leaving animations and bone structures behind. | |
# Combines multiple animation sequences into a single animation | |
# sequence for Xcode to use. | |
import sys | |
import os | |
import re |