Skip to content

Instantly share code, notes, and snippets.

View enjalot's full-sized avatar

Ian Johnson enjalot

View GitHub Profile
@enjalot
enjalot / .block
Last active September 3, 2017 16:24
Contour Plot III (badge)
license: gpl-3.0
@enjalot
enjalot / .DS_Store
Last active September 5, 2017 00:00
Joyplot (badge)
Bud1%
@enjalot
enjalot / .block
Last active September 3, 2017 16:45
pack forever
license: mit
@enjalot
enjalot / .block
Last active May 20, 2017 22:12
Face on face on face
license: mit
@enjalot
enjalot / .block
Last active May 19, 2017 18:49
Flocking faces
license: mit
@enjalot
enjalot / ndjson.md
Last active December 15, 2021 04:10
Tips for processing Quick, Draw! data with ndjson-cli

Quick, Draw! ndjson data

The Quick, Draw! dataset uses ndjson as one of the formats to store its millions of drawings.

We can use the ndjons-cli utility to quickly create interesting subsets of this dataset.

The drawings (stroke data and associated metadata) are stored as one JSON object per line. e.g.:

{
@enjalot
enjalot / .block
Last active December 1, 2021 04:22
Quick, Draw! d3 & SVG demo
license: mit
@enjalot
enjalot / simplified-parser.js
Last active May 18, 2017 23:59
Parse simplified ndjson files from Quick, Draw! dataset in node.js
/*
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@enjalot
enjalot / binary-parser.js
Last active May 18, 2017 23:59
Parse binary files from Quick, Draw! dataset in node.js
/*
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@enjalot
enjalot / .block
Last active December 21, 2018 14:35
some colors
license: mit