Skip to content

Instantly share code, notes, and snippets.

@pbogden
pbogden / .block
Last active August 2, 2018 10:05
Rotating GeoJSON in Three.js
license: gpl-3.0
height: 960
border: no
@pbogden
pbogden / .block
Last active April 25, 2017 14:33
three quakes
license: gpl-3.0
height: 960
border: no
@pbogden
pbogden / README.md
Last active April 21, 2017 19:57
canvas performance

Canvas performance

Canvas starts having problems when drawing more than 100K points at a time.

  • 2m -- ~1 / 15 fps = 130K dots/sec (but startup is noticeable)
  • 1m -- ~ 1 / 7 fps = 180K dots/sec (ditto)
  • 500K -- ~1 / 2 fps = 206K dots/sec (ditto)
  • 200K -- ~1 fps = 240K dots/sec
  • 100K -- ~3 fps = 310K dots/sec
  • 50K -- ~6 fps = 320K dots/sec
@pbogden
pbogden / README.md
Last active April 20, 2017 21:41
md chloropleth
@pbogden
pbogden / .block
Last active March 11, 2017 21:14 — forked from mbostock/.block
Bar Chart I
license: gpl-3.0
@pbogden
pbogden / README.md
Last active March 10, 2017 01:01
Class 3

Assignment for Class #3

@pbogden
pbogden / README.md
Last active February 1, 2022 04:53
Clustered Force Layout v4
@pbogden
pbogden / .gitignore
Last active November 9, 2017 13:26
Toggling buttons
junk
@pbogden
pbogden / README.md
Last active April 26, 2016 12:45
tweens

Using tweens with transitions: Custom tweens with a custom attribute.

@pbogden
pbogden / README.md
Last active September 14, 2018 09:48
html button

HTML button

Uses CSS

  • linear-gradient
  • box-shadow

Check out an SVG button