##Playing with stylus functions.
A Pen by Kyle Shanks on CodePen.
function onGLC(glc) { | |
glc.loop(); | |
glc.size(400, 400); | |
glc.setDuration(2.5); | |
// glc.setFPS(20); | |
glc.setMode("bounce"); | |
glc.setEasing(true); | |
// glc.setMaxColors(256); | |
var list = glc.renderList, | |
width = glc.w, |
function onGLC(glc) { | |
glc.loop(); | |
glc.size(400, 400); | |
glc.setDuration(2.5); | |
// glc.setFPS(20); | |
glc.setMode("single"); | |
glc.setEasing(false); | |
// glc.setMaxColors(256); | |
var list = glc.renderList, | |
width = glc.w, |
function onGLC(glc) { | |
glc.loop(); | |
glc.size(400, 400); | |
glc.setDuration(2.5); | |
// glc.setFPS(20); | |
glc.setMode("single"); | |
glc.setEasing(false); | |
// glc.setMaxColors(256); | |
var list = glc.renderList, | |
width = glc.w, |
function onGLC(glc) { | |
glc.loop(); | |
glc.size(400, 400); | |
glc.setDuration(2); | |
glc.setFPS(30); | |
glc.setMode('bounce'); | |
glc.setEasing(true); | |
glc.styles.backgroundColor = '#eee'; | |
var list = glc.renderList, | |
width = glc.w, |
/*! | |
* getStyleProperty v1.0.4 | |
* original by kangax | |
* http://perfectionkills.com/feature-testing-css-properties/ | |
* MIT license | |
*/ | |
/*jshint browser: true, strict: true, undef: true */ | |
/*global define: false, exports: false, module: false */ |
##Playing with stylus functions.
A Pen by Kyle Shanks on CodePen.
dasdadasfafafassa gfjfkfky asafafssa
A Pen by Rachel Smith on CodePen.
CSS3 Glitch Effect inspired by Kikk.be and Year in review.
Related tutorial: https://ihatetomatoes.net/how-to-create-css-glitch-effect/
A Pen by Petr Tichy on CodePen.
"New Container Component": { | |
"prefix": "ncc", | |
"body": [ | |
"import { connect } from 'react-redux';", | |
"import ${1:name} from './${1:name}';", | |
"", | |
"const mapStateToProps = state => {", | |
" return {$2};", | |
"};", | |
"", |
"New React Component": { | |
"prefix": "nrc", | |
"body": [ | |
"import React, { Component } from 'react';", | |
"import PropTypes from 'prop-types';", | |
"", | |
"class ${1:name} extends Component {", | |
" render() {$2}", | |
"}", | |
"", |