Using SVG filters to apply a duotone effect.
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
// MIXINS | |
vendor(prop, args) | |
-webkit-{prop} args | |
-moz-{prop} args | |
-o-{prop} args | |
{prop} args | |
animation() | |
vendor('animation', arguments) |
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
license: gpl-3.0 | |
redirect: https://observablehq.com/@mbostock/rotating-voronoi |
In order to generate some svg with d3 in node.js, you need a dom. This is a bare bones example of using jsdom for said dom.
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
license: gpl-3.0 |
Smooth transitioning US tour in the same vein as this example. Steps:
- Compares both shapes and adds evenly-spaced points to whichever polygon has fewer so that both have the same number of points
- Picks the winding of the first polygon that minimizes the sum of the squared distances between point pairs
Some possible improvements:
- Adding additional points to both shapes first such that every segment longer than a certain distance is bisected
- Tweaking the placement of added points with simulated annealing
- Using a cost function that factors in self-intersections at the halfway mark in addition to distance traveled
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
license: gpl-3.0 |
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
I went on a first date with this guy; I didn’t know what to say to him? | |
What is the first song that comes to mind when I say the word “party”? | |
Can birds get allergies? | |
Why did my gf who said she loved me cheat on me rite in fornt of me and not care? | |
How long does it take to get THC out of your system if you only smoke on the weekends? | |
My girlfriend threw my dog off my balcony when I broke up with her Im not sure what to do? | |
Can toenails be swallowed? | |
Is it okay to bring jelly beans on a plane? | |
is masturbation create problem? | |
I’m in LOVE with Krista from Fern Gully. Are there any websites devoted to her? |
OlderNewer