Skip to content

Instantly share code, notes, and snippets.

View nbremer's full-sized avatar

Nadieh Bremer nbremer

View GitHub Profile
@nbremer
nbremer / README.md
Last active June 18, 2016 20:21
Gooey effect - Hexagon
@nbremer
nbremer / .block
Last active May 12, 2018 11:49
Gooey Collision Detection
license: gpl-3.0
@nbremer
nbremer / .block
Last active June 18, 2016 20:21
Gooey effect - Rotating circles - Non-blending colors
height: 420
@nbremer
nbremer / .block
Last active June 18, 2016 20:23
Gooey effect - Rotating circles - Blending colors
height: 420
@nbremer
nbremer / .block
Last active November 4, 2023 13:03
Data based gradients - HR Diagram
height: 1090
@nbremer
nbremer / .block
Last active June 18, 2016 20:22
Data based gradients - Simple - Solar system
height: 200
@nbremer
nbremer / .block
Last active May 28, 2019 07:00
Radial gradient - Simple example - Sun
height: 300
@nbremer
nbremer / .block
Last active June 12, 2016 08:36
Radial SVG gradient - Random bubble art
height: 700
@nbremer
nbremer / README.md
Last active June 18, 2016 20:24
Color blending - Hexagon

This is the first example of my blog on Beautiful color blending effects with SVGs & D3

The hexagon introduction to the Color blending section of my OpenVis 2016 talk "SVGs beyond mere shapes". In this example the circles are given the mix-blend-mode of screen to get nice effects when the circles overlap each other.

Another color blending example can be found here

Built with blockbuilder.org

@nbremer
nbremer / README.md
Last active February 10, 2020 11:01
Color blending - Infinity showcase

This is one of the color blending examples of my blog on Beautiful color blending effects with SVGs & D3

In this small showcase you can see the effect of using a mix-blend-mode on your SVG elements. Every 3 seconds it switches to a different set of colors or switches from "screen" to "multiply" mode and there are 7 different sets before it begins anew. In one ofthe 7 sets, it sets no blend mode and you can see with your own eyes that that version definitely has less magic :)

This example is heavily based on the wonderful particle demo of Sketch.js. I fell in love with it when I first saw it and really wanted to use it in my OpenVis presentation. Because I already thought it was perfect I only made the changes to make it run in an infinity symbol (for infinity) instead of attaching it to a mouse and to loop through several sets of colors and both the screen and multiply blend modes. Also, si