Skip to content

Instantly share code, notes, and snippets.

View automata's full-sized avatar

Vilson Vieira automata

View GitHub Profile
@automata
automata / noflo.json
Created September 30, 2014 13:11
Instagram Brannan (+saturation)
{
"properties": {
"name": "main",
"id": "brannan",
"environment": {
"type": "noflo-browser",
"content": ""
},
"changed": true,
"icon": ""
@automata
automata / noflo.json
Created September 30, 2014 13:05
Instagram Lord Kelvin filter
{
"properties": {
"name": "main",
"id": "lordkelvin",
"environment": {
"type": "noflo-browser",
"content": ""
},
"changed": true,
"icon": ""
@automata
automata / noflo.json
Created September 30, 2014 12:44
Instagram Nashville filter (-brightness)
{
"properties": {
"name": "main",
"id": "nashville",
"environment": {
"type": "noflo-browser",
"content": ""
},
"changed": true,
"icon": ""
@automata
automata / noflo.json
Created September 29, 2014 21:27
Instagram X Pro II
{
"properties": {
"name": "main",
"id": "xproii",
"environment": {
"type": "noflo-browser",
"content": ""
},
"changed": true,
"icon": ""
@automata
automata / noflo.json
Created September 29, 2014 21:04
Instagram Hefe filter (contrast, brightness, vignette)
{
"properties": {
"name": "main",
"id": "hefe",
"environment": {
"type": "noflo-browser",
"content": ""
},
"changed": true,
"icon": ""
(time 0)
(channel value)
(curve
(curve-type smooth)
(n-points 17)
(points 34 0.000000 0.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 1.000000 1.000000)
(n-samples 256)
(samples 256 0.000000 0.003922 0.007843 0.011765 0.015686 0.019608 0.023529 0.027451 0.031373 0.035294 0.039216 0.043137 0.047059 0.050980 0.054902 0.058824 0.062745 0.066667 0.070588 0.074510 0.078431 0.082353 0.086275 0.090196 0.094118 0.098039 0.101961 0.105882 0.109804 0.113725 0.117647 0.121569 0.125490 0.129412 0.133333 0.137255 0.141176 0.145098 0.149020 0.152941 0.156863 0.160784 0.164706 0.168627 0.172549 0.176471 0.180392 0.184314 0.188235 0.192157 0.196078 0.200000 0.203922 0.207843 0.211765 0.215686 0.219608 0.223529 0.227451 0.231373 0.235294 0.239216 0.2
@automata
automata / noflo.json
Created September 29, 2014 04:32
Instagram 1977 filter (works for Nashville, Brennan, Gotham, Hefe, Lord Kelvin and X Pro II too)
{
"properties": {
"name": "main",
"id": "instagram_1977",
"environment": {
"type": "noflo-browser",
"content": ""
},
"changed": true,
"icon": ""
vagrant@precise32:~/imgflo-server$ node index.js
Server listening at port 8080 with workdir ./temp on host localhost
EVENT: request-received: { request: '/' }
EVENT: request-received: { request: '/demo/style.css' }
EVENT: request-received: { request: '/demo/demo.js' }
EVENT: request-received: { request: '/demo' }
EVENT: request-received: { request: '/version' }
EVENT: request-received: { request: '/favicon.ico' }
EVENT: unknown-request: { request: '/favicon.ico', path: '/favicon.ico' }
EVENT: request-received: { request: '/demo/grid-toastybob.jpg' }
vagrant@precise32:~/imgflo-server$ make check
mkdir -p /home/vagrant/imgflo-server/install || true
sed -e 's|@PREFIX@|/home/vagrant/imgflo-server/install|' runtime/env.sh.in > /home/vagrant/imgflo-server/install/env.sh
chmod +x /home/vagrant/imgflo-server/install/env.sh
npm run update-version-info || echo 'WARN: unable to update version'
cd runtime && make PREFIX=/home/vagrant/imgflo-server/install install
make[1]: Entering directory `/home/vagrant/imgflo-server/runtime'
mkdir -p /home/vagrant/imgflo-server/install || true
sed -e 's|@PREFIX@|/home/vagrant/imgflo-server/install|' env.sh.in > /home/vagrant/imgflo-server/install/env.sh
chmod +x /home/vagrant/imgflo-server/install/env.sh
vagrant@precise32:~/imgflo-server$ make check
mkdir -p /home/vagrant/imgflo-server/install || true
sed -e 's|@PREFIX@|/home/vagrant/imgflo-server/install|' runtime/env.sh.in > /home/vagrant/imgflo-server/install/env.sh
chmod +x /home/vagrant/imgflo-server/install/env.sh
npm run update-version-info || echo 'WARN: unable to update version'
cd runtime && make PREFIX=/home/vagrant/imgflo-server/install install
make[1]: Entering directory `/home/vagrant/imgflo-server/runtime'
mkdir -p /home/vagrant/imgflo-server/install || true
sed -e 's|@PREFIX@|/home/vagrant/imgflo-server/install|' env.sh.in > /home/vagrant/imgflo-server/install/env.sh
chmod +x /home/vagrant/imgflo-server/install/env.sh