Skip to content

Instantly share code, notes, and snippets.

@hellocatfood
hellocatfood / colourchart.sh
Last active August 29, 2015 14:02
Reduces the colour count of an image and then overlays those colours as cubes onto the image
#!/bin/bash
#Reduces the colour count of an image and then overlays those colours as cubes onto the image
#Developed for Post-Modern Plant Life: An [RHP] CDRs Artist Laboratory https://www.facebook.com/events/1452413868331145/
for file in *.JPG
do
colors=$1
@hellocatfood
hellocatfood / License
Last active August 29, 2015 14:06
Combine two images
We couldn’t find that file to show.
v7rs6ldv*vv*7&@xr.8&
$b
0000000000000000000000000000000000000000011110111010010011101110000000000100000100101101001001000000000000100001001101001110010000000000000100010010010100100100000000000000100100100101001001000000000001111011101001001110111000000000000000000000000000000000
@hellocatfood
hellocatfood / LICENSE
Last active August 29, 2015 14:07
Moviecutter
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
@hellocatfood
hellocatfood / gif-to-video.sh
Created January 4, 2015 20:01
gif to video
#!/bin/bash
for file in *.gif
do
# get filename minus extension
file1=$(basename "$file")
filename="${file1%.*}"
# convert to individual frames with green screen
@hellocatfood
hellocatfood / emojify.sh
Last active August 29, 2015 14:12
Emojify an image
#!/bin/bash
emojis=(/home/hellocatfood/Desktop/twemoji/16x16/*)
# get filename minus extension
file=$(basename "$1")
filename="${file%.*}"
# pick random emoji for gifs
file1=$(printf "%s\n" "${emojis[RANDOM % ${#emojis[@]}]}")
@hellocatfood
hellocatfood / gist:46dec37ed533c57e4519
Created January 8, 2015 18:50
Installation instructions for Flext and Py ext
Installation instructions for Flext and pyext on Ubuntu 14.10 (64 Bit) on a Dell XPS 13
Download the Pure Data source code
git clone git://git.code.sf.net/p/pure-data/pure-data/
Checkout flext
svn co https://svn.grrrr.org/ext/trunk/flext/
cd into flext
@hellocatfood
hellocatfood / gist:ad1da963d5b37b43d542
Last active August 29, 2015 14:13
#artsdigital bingo
Technology
Technologies
Content
Wearable
Media
Future
Virtual
Disruption
Disruptive
Big Data
@hellocatfood
hellocatfood / feedback.sh
Last active August 17, 2020 00:51
Do feedback loops on an image with transparenty
#!/bin/bash
# applies a black and white feedback effect to still images.
# usage: ./feedback.sh image.png 18
# this would apply the feedback effect 18 times to the image.png image and output the result as feedback.png
cp $1 feedback.png
loop=0
placeholder