This file contains hidden or 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
| $grid-breakpoints: ( | |
| xs: 0, | |
| sm: 576px, | |
| md: 768px, | |
| lg: 992px, | |
| xl: 1200px, | |
| xxl: 1400px, | |
| ); |
This file contains hidden or 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
| import tween, { easeOutQuart } from 'tween.js' | |
| tween({ | |
| from: 0, | |
| to: 3000, | |
| duration: 2000, | |
| easing: easeOutQuart, | |
| onUpdate: (value) => value, // do some magic | |
| }) |
This file contains hidden or 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
| export class AudioHandler { | |
| constructor(element, options) { | |
| this.element = element | |
| this.isFading = false | |
| this.fadeTimer = undefined | |
| this.set(options) | |
| } | |
| play() { | |
| this.element.play() |
This file contains hidden or 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
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| export default { | |
| // no easing, no acceleration | |
| linear: (t) => t, | |
| // accelerating from zero velocity | |
| easeInQuad: (t) => t * t, |
This file contains hidden or 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
| export default class ControlledAf { | |
| constructor(step, fps = 60, immediate = false) { | |
| this.step = step | |
| this.fps = fps | |
| this.raf = undefined | |
| this.fpsInterval = undefined | |
| this.startTime = undefined | |
| this.now = undefined | |
| this.then = undefined |
This file contains hidden or 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
| 3:55:54 PM: Build ready to start | |
| 3:55:58 PM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63 | |
| 3:55:58 PM: build-image tag: v3.3.2 | |
| 3:55:58 PM: buildbot version: 0868ae15c7c4005fe7a69a665a5062b7f6293c2f | |
| 3:55:59 PM: Fetching cached dependencies | |
| 3:55:59 PM: Starting to download cache of 255.0KB | |
| 3:55:59 PM: Finished downloading cache in 135.41203ms | |
| 3:55:59 PM: Starting to extract cache | |
| 3:55:59 PM: Failed to fetch cache, continuing with build | |
| 3:55:59 PM: Starting to prepare the repo for build |
This file contains hidden or 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
| numFiles=$(ls -1q * | wc -l) | |
| index=1 | |
| for file in *; do | |
| echo "annotating ${index} of ${numFiles}: ${file}" | |
| ((index = index + 1)) | |
| convert $file -background black -fill white label:$file +swap -gravity Center -append $file |
This file contains hidden or 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
| // .h | |
| ofTrueTypeFont myType; | |
| vector <ofMesh> text; | |
| // .cpp setup | |
| myType.load("FONT-NAME.ttf", 100, true, false, true); | |
| text.clear(); | |
| vector<ofTTFCharacter> path = myType.getStringAsPoints("TEXT"); | |
| for(int i = 0; i < path.size(); i++){ |