Skip to content

Instantly share code, notes, and snippets.

@ncase
ncase / SarahTheSpaceSpy.js
Last active June 22, 2023 01:46
A short story about a programmer, written in programming.
function StartDayAgain(){
sarah.wakeUp();
// What if my life was like a movie? In space?
sarah.goto("Bathroom");
sarah.exit(sarah.pajamas);
sarah.clean(sarah);
sarah.clean(sarah.teeth);
@ncase
ncase / EaselEncode.js
Last active December 3, 2019 06:30 — forked from bjnsn/EncodePath.js
This will allow you to call Graphics.encodePath() to get the compressed base64 data string. This way, you don't have to call the same drawing instructions on an EncodePath object first.
/**
* Graphics.encodePath, as the mirror to .decodePath
* Goes through only the path Commands, and returns a compressed base64 data string
*
* @author Nicklaus Liow, nutcasenightmare.com
**/
// namespace:
this.createjs = this.createjs||{};
@ncase
ncase / resume.md
Last active May 8, 2019 18:50
Nicky Case's Resume, I Guess

#Art. Code. Words.

Nicky Case plays with play. They make interactive non-fiction, to help people understand the world, and interactive stories, to help people understand themselves.

website: ncase.me
twitter: @ncasenmare
github: ncase

It's also been a really long time since they've needed to write a résumé, so they're going to assume this pseudo-third-person biography plus the following stuff shall suffice:

@ncase
ncase / hello.html
Last active June 2, 2018 11:55
herp derp
<h3>THIS IS A WOBSITE</h3>
<br>
Hello World!
@ncase
ncase / credits.md
Last active March 6, 2018 15:17
Full credits for It's A(door)able

Designed & developed by Nicky Case in two-ish days.

Thank you to my playtesters: Amber, Lana, Rio, Sakura.

All code and art dedicated to the public domain.

If you'd like to help me keep making free, open-source playable silliness, please check out my Patreon! Thank you. <3

Audio Credits:

@ncase
ncase / schelling.md
Last active February 3, 2018 02:44
DRAFT - Schelling's Segregation Solitaire Sexism Simulator

These are the adorable Polygon People.

They're 50% Triangles, 50% Squares, and 100% slightly biased against each other.

Emphasis on the word slightly. A Polygon would be happy with an even 50/50 split of neighbours of different types, but if less than 33% of their neighbours are like them, they will be unhappy, and want to move somewhere else.

@ncase
ncase / poll.csv
Created January 24, 2018 17:47
Nicky's Explorable Explanations Survey Results
understand nonviolence learn-teach win-win mindfulness crowds
3 4 3 4 4 5
5 4 4 4 5 3
4 4 4 3 2 2
4 5 4 3 4 4
5 4 3 4 3 5
5 5 5 5 3 4
3 4 4 4 4 5
3 1 3 2 5 3
5 3 4 3 4 5
@ncase
ncase / common-project.md
Last active July 5, 2017 15:33
The Common Project Project (version 0.1)

A country that's polarized is paralyzed. If we want any change in the coming years, we need to find a way to work together. However, you can't just unify people by holding hands and singing Kumbaya. No – rather than ignore or "put aside" our differences, let's use our different perspectives & interests & skills to tackle problems from all possible angles! For us to find common ground, we first need to find common goals.

This is the Common Project project.

Below, you'll find a list of projects, people, organizations, books, talks, movies, articles, and ideas that cross partisan lines to solve The Big Problems we face today. There's many such problems. And we'll need help from all sides.


@ncase
ncase / GLOGS.md
Last active January 20, 2017 19:04
GLOGS

"Do and Show and Tell"

###Do & Show & Tell

Don't try to explain everything with something interactive. Use interactivity only when interactivity works best, otherwise, supplement it with text & images. Also keep in mind the overlaps of Do & Show & Tell: when text interacts with the diagrams (e.g. Tangle), and vice versa.

Text: Best at describing very abstract concepts.
Graphs: Best at showing broad relationships at a glance.
Animations: Best at showing temporal relationships.
Interactives: Best at showing processes, systems, models. (See final slide on Procedural Rhetoric)

@ncase
ncase / openstats.csv
Last active January 2, 2016 04:49
The Open Bundle S3 Download Stats
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 1 column, instead of 7. in line 7.
Jun 2013: 120 GB
Jul 2013: 657 GB
Aug 2013: 387 GB
Sep 2013: 247 GB
Oct 2013: 239 GB
Nov 2013: 174 GB
Dec 2013: 123 GB
Service, Operation, UsageType, Resource, StartTime, EndTime, UsageValue
AmazonS3,GetObject,DataTransfer-Out-Bytes,openbundle,06/01/13 00:00:00,07/01/13 00:00:00,129130722957