The idea of this experiment is to create a grid of particles and then add a marker that the particles swarm to. When the marker disapears, the particles should return to their normal position.
A Pen by Gary Constable on CodePen.
The idea of this experiment is to create a grid of particles and then add a marker that the particles swarm to. When the marker disapears, the particles should return to their normal position.
A Pen by Gary Constable on CodePen.
Just experimenting with some particles.
A Pen by Gary Constable on CodePen.
A Pen by Gary Constable on CodePen.
A Pen by Gary Constable on CodePen.
2.5K Particles following the mouse - next step is to see if we can get webgl to do the drawing to allow a higher particle count.
A Pen by Gary Constable on CodePen.
| /*========== Mobile First Method ==========*/ | |
| @media only screen and (min-width : 320px) {} | |
| @media only screen and (min-width : 480px) {} | |
| @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {} | |
| @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape){} | |
| @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) {} | |
| @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape){} | |
| @media only screen and (min-width : 768px) {} | |
| @media only screen and (min-width : 992px) {} |
| /** | |
| * functions for altering url params | |
| * @returns {searchParams} | |
| */ | |
| var searchParams = function(){}; | |
| searchParams.prototype.find = function( str, search ){ | |
| if(str.indexOf(search) > 0){ |
| //twig ellipsis | |
| {{ myentity.text|length > 50 ? myentity.text|slice(0, 50) ~ '...' : myentity.text }} |
| 'use strict'; | |
| /* ---------------------------------------------------------------- | |
| App Definition | |
| -----------------------------------------------------------------*/ | |
| var webApp = angular.module('webApp', [ | |
| 'ngRoute', | |
| 'webAppAnimations', | |
| 'webAppControllers', |
| /* --------------------------------------------------------------------- | |
| * scroller gallery plugin - v0001 | |
| * ------------------------------------------------------------------ */ | |
| (function ( $ ) { |