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
{ | |
"particles": [ | |
[5.57, 0, 1, 1, 0], | |
[3.47, 12.69, 1, 0], | |
[3.239, 25.126, 1, 0], | |
[0.691, 37.563, 1, 0], | |
[0, 50, 1, 1, 4], | |
[8.695, 0, 1, 1, 5], | |
[7.967, 12.69, 1, 0], | |
[5.473, 25.126, 1, 0], |
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
System.$win.on('mousemove', function(e) { | |
nextX = e.clientX; | |
diff = currX - nextX; | |
var tmpVal = (Data.Active.shell.width * Data.Active.boxes[index].perc) * System.scale; | |
var valMinusDif = tmpVal - diff; | |
var newperc = (valMinusDif / (Data.Active.shell.width * System.scale)); | |
var percDif = newperc - Data.Active.boxes[index].perc; | |
Data.Active.boxes[index].perc += percDif; | |
Data.Active.boxes[index + 1].perc -= percDif; | |
boxElements[index].update({ |
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
{ | |
"Active": { | |
"shell": {}, | |
"legs": { | |
"catid": 1, | |
"legid": 0, | |
"shortName": "Castor", | |
"height": 5, | |
"image": "img/legs/castor_80.png" | |
}, |
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
<svg version="1.1" id="dsvgee" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 278 278" width="278" height="278"> | |
<!-- Super elite legit badassery for browsers that support it --> | |
<div id="dsvgee-component"> | |
<img src="/images/smileys/shade_smile.gif"/> | |
<div id="success"> | |
This is a big test | |
</div> | |
<script> | |
(function(){ | |
if(!test) return; |
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
// ========================= | |
// Example 1: using a @mixin | |
// ========================= | |
// SCSS: | |
@mixin a_pink_box() { | |
float: left; | |
display: block; | |
color: pink; |
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
/** | |
* Toggles & Switches | |
* ------------------ | |
*/ | |
(function() { | |
"use strict"; | |
// switch constructor |
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
var Mathutils = { | |
//not so important | |
normalize: function ($value, $min, $max) { | |
return ($value - $min) / ($max - $min); | |
}, | |
interpolate: function ($normValue, $min, $max) { | |
return $min + ($max - $min) * $normValue; | |
}, | |
/* |
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
/* | |
Globals are any collection of styles that are used in more than one place. | |
Use this file for colors, font stacks, and for | |
Partials use %global- to help developers guess where they are writen. | |
*/ | |
.columnStyle .statusIndicator.indicatorGreen, span#help1, .dropdown.accountInfoIcon .dropdown-toggle { | |
display: inline-block; | |
line-height: 1; | |
vertical-align: middle; } |
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
/* | |
Globals are any collection of styles that are used in more than one place. | |
Use this file for colors, font stacks, and for | |
Partials use %global- to help developers guess where they are writen. | |
*/ | |
.glyphicon.glyphicon-play, .columnStyle .statusIndicator.indicatorGreen, span#help1, .dropdown.accountInfoIcon .dropdown-toggle, .glyphicon.glyphicon-download-alt, #ConfirmPayment .rightArrowWhite, #PaymentConfirmReview .rightArrowWhite, #interestedInEarlyPay .rightArrowWhite, .glyphicon.glyphicon-alert, .glyphicon.glyphicon-ban-circle { | |
display: inline-block; | |
line-height: 1; | |
vertical-align: middle; } |
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
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { | |
/******/ return installedModules[moduleId].exports; |