Skip to content

Instantly share code, notes, and snippets.

View bokuweb's full-sized avatar
👾
Working from home

bokuweb bokuweb

👾
Working from home
View GitHub Profile
@bokuweb
bokuweb / emcc_wget.c
Created September 29, 2017 01:08 — forked from nikuuchi/emcc_wget.c
emscripten.hを使ってみた時のメモ
#include <stdio.h>
#include <stdlib.h>
#include <emscripten.h>
void onLoadCallback(const char *filename) {
FILE *fp;
char s[256];
if((fp = fopen(filename, "r")) == NULL) {
printf("file open error!!\n");
@bokuweb
bokuweb / erlang.rst
Created April 1, 2017 14:37 — forked from voluntas/naze_erlang.rst
なぜ Erlang/OTP を使い続けるのか
@bokuweb
bokuweb / gist:9eaee6c93eb6f446ad2a
Created December 21, 2015 06:32 — forked from chenglou/gist:40b75d820123a9ed53d8
Thoughts on Animation

Interesting part (unmounting & API) is at the end if you're not interested in the rest =).

Stress Tests

This animation proposal is just an attempt. In case it doesn't work out, I've gathered a few examples that can test the power of a future animation system.

  1. Parent is an infinitely spinning ball, and has a child ball that is also spinning. Clicking on the parent causes child to reverse spinning direction. This tests the ability of the animation system to compose animation, not in the sense of applying multiple interpolations to one or more variables passed onto the child (this should be trivial), but in the sense that the parent's constantly updating at the same time as the child, and has to ensure that it passes the animation commands correctly to it. This also tests that we can still intercept these animations (the clicking) and immediately change their configuration instead of queueing them.

  2. Typing letters and let them fly in concurrently. This tests concurrency, coordination of an array of ch