Skip to content

Instantly share code, notes, and snippets.

@zeffii
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/0091ce04f01e6b834777 to your computer and use it in GitHub Desktop.
Save zeffii/0091ce04f01e6b834777 to your computer and use it in GitHub Desktop.
coffee_i_forget_how_to

[ Launch: coffee_templatefux ] 0091ce04f01e6b834777 by zeffii
[ Launch: boomstick_motion_wcolor_coffee ] 6399870 by zeffii
[ Launch: boomstick_motion_wcolor_coffee ] 6382272 by zeffii
[ Launch: boomstick_motion_wcolor_coffee ] 6382237 by zeffii
[ Launch: boomstick_motion_wcolor_coffee ] 6379220 by zeffii
[ Launch: boomstick_motion_wcolor ] 6376715 by zeffii
[ Launch: boomstick_motion2 ] 6365156 by zeffii
[ Launch: boomstick_motion ] 6364686 by zeffii
[ Launch: boomstick ] 6364584 by zeffii
[ Launch: zeffii default ] 6364028 by zeffii
[ Launch: zeffii default ] 5033869 by zeffii

{
"images": [
"2014\\perc\\hat\\hat1.blkx",
"2014\\perc\\hat\\zef_perc_shorthat.blkx",
"2014\\perc\\kick\\zef274_perc_bd_muiBeuno.blkx",
"2014\\perc\\kick\\zef274_perc_hh_more789.blkx",
"2014\\synth\\lead\\synth_dwm_pulselead_001.blkx",
"2014\\synth\\lead\\synth_svelt_osc2_phaz.blkx",
"2014\\synth\\lead\\synth_svelt_osc_marching.blkx",
"2014\\synth\\lead\\synth_svelt_osc_marching2.blkx",
"2014\\synth\\lead\\tonal_flute_internest.blkx",
"2014\\synth\\lead\\wnth_stab_filter_lead_phraser.blkx",
"2014\\synth\\pad\\synth_chord_Ab4-Eb5-Ab5-Bb5.blkx",
"2014\\synth\\pad\\zef274_ton_WarmAnalog.blkx",
"2014\\synth\\pad\\zef274_ton_WarmAnalog2.blkx",
"2014\\synth\\pluck\\zef282_ton_pluckedmonk.blkx",
"2014\\synth\\stab\\1998_dtch.blkx",
"2014\\synth\\stab\\neatly.blkx",
"2014\\synth\\stab\\nicedeep_moog.blkx",
"2014\\synth\\stab\\synth_stab_understone_3way.blkx",
"2014\\synth\\stab\\synth_svelt_moog7.blkx",
"2014\\synth\\stab\\ton_cute_moog.blkx",
"2014\\synth\\stab\\ton_cute_moog_elab.blkx",
"2014\\synth\\stab\\zef274_ton_delicateStab.blkx",
"2014\\synth\\stab\\zef274_ton_virusStab.blkx",
"Vintage\\Percussion\\v33_BD_909_b1.blkx",
"Vintage\\Percussion\\v38_HH_uno_a3sharp.blkx",
"Vintage\\Percussion\\v43_Snare_Gen.blkx",
"Vintage\\Percussion\\v47_BD_909dist_c4.blkx",
"Vintage\\Percussion\\v47_HH_Gen.blkx",
"Vintage\\Percussion\\v47_Snare_909_c5.blkx",
"Vintage\\Percussion\\v48_BD_909_g2.blkx",
"Vintage\\Percussion\\v48_HH_high.blkx",
"Vintage\\Percussion\\v48_HH_high_tweaked.blkx",
"Vintage\\Percussion\\v52_BD_Wdorf_e2.blkx",
"Vintage\\Percussion\\v52_BD_beowolf_d3sharp.blkx",
"Vintage\\Percussion\\v52_BD_c2.blkx",
"Vintage\\Percussion\\v52_BD_simple_b1.blkx",
"Vintage\\Percussion\\v52_CP_fauxclap.blkx",
"Vintage\\Percussion\\v52_HH_909_c8.blkx",
"Vintage\\Percussion\\v52_HH_click.blkx",
"Vintage\\Percussion\\v52_HH_closed_simple.blkx",
"Vintage\\Percussion\\v53_BD_cenv.blkx",
"Vintage\\Percussion\\v53_Snare_808.blkx",
"Vintage\\Percussion\\v53_bd_at_c-5.blkx",
"Vintage\\Tonal\\Blok_On_Roids.bmx",
"Vintage\\Tonal\\crazytrance.bmx",
"Vintage\\Tonal\\dirlist",
"Vintage\\Tonal\\dirlist.txt",
"Vintage\\Tonal\\tranquility.bmx",
"Vintage\\Tonal\\v38_stgr_5thdetune.blkx",
"Vintage\\Tonal\\v39_strangePAD.blkx",
"Vintage\\Tonal\\v44_cid_Monophonic.blkx",
"Vintage\\Tonal\\v46_1Log.blkx",
"Vintage\\Tonal\\v46_noPWM2.blkx",
"Vintage\\Tonal\\v50_unManheim_dubstab_02.blkx",
"Vintage\\Tonal\\v52_Noise_Pad_Keytracked.blkx",
"Vintage\\Tonal\\v52_OBERHEIM_01.blkx",
"Vintage\\Tonal\\v52_danqual.blkx",
"Vintage\\Tonal\\v52_empty.blkx",
"Vintage\\Tonal\\v52_flange_stab.blkx",
"Vintage\\Tonal\\v52_moogish_short.blkx",
"Vintage\\Tonal\\v52_moogish_short_low.blkx",
"Vintage\\Tonal\\v52_oberheim2.blkx",
"Vintage\\Tonal\\v52_obesity_08.blkx",
"Vintage\\Tonal\\v52_pad_fauxverb.blkx",
"Vintage\\Tonal\\v52_short_verheijstab.blkx",
"Vintage\\Tonal\\v52_sparta.bmx",
"Vintage\\Tonal\\v52_too_close_to_the_tram.blkx",
"Vintage\\Tonal\\v52_tranquality.blkx",
"Vintage\\Tonal\\v52_uno_java80_phat.blkx",
"Vintage\\Tonal\\v52_warmStab.blkx",
"Vintage\\Tonal\\v53_voltage_controlled.bmx",
"Vintage\\soundFX\\v52_Noise_Keytracked_4x.blkx",
"Vintage\\soundFX\\v52_Noise_Keytracked_4x2.blkx",
"Vintage\\unsorted\\166_Perc_BD_easy2_mo.blkx",
"Vintage\\unsorted\\166_Perc_BD_easy3_d2_mo.blkx",
"Vintage\\unsorted\\166_Perc_BD_easy_MO.blkx",
"Vintage\\unsorted\\166_Perc_MC_shaker_MO.blkx",
"Vintage\\unsorted\\166_TON_STAB_moog_phat2_stereo.blkx",
"Vintage\\unsorted\\166_TON_STAB_moog_phat_stereo.blkx",
"Vintage\\unsorted\\166_TON_lead_moog_ST.blkx",
"Vintage\\unsorted\\166_TON_pad_manor_road_stereo.blkx",
"Vintage\\unsorted\\166_TON_pad_stars_stereo.blkx",
"Vintage\\unsorted\\166_perc_cp_LOW909_STEREO.blkx",
"Vintage\\unsorted\\181_BD_simple_effective_909ish.blkx",
"Vintage\\unsorted\\181_HH_CH_909ish.blkx",
"Vintage\\unsorted\\190_ton_bellair_complex2_mono.blkx",
"Vintage\\unsorted\\190_ton_bellair_complex3_mono.blkx",
"Vintage\\unsorted\\190_ton_bellair_complex_mono.blkx",
"Vintage\\unsorted\\190_ton_bellair_simple_mono.blkx",
"Vintage\\unsorted\\193_lead_octogon_verb.blkx",
"Vintage\\unsorted\\193_pad_fluffdegrade2_stereo.blkx",
"Vintage\\unsorted\\193_pad_fluffdegrade_stereo.blkx",
"Vintage\\unsorted\\195_perc_bd_customENV.blkx",
"Vintage\\unsorted\\195_perc_hh_CH_neat.blkx",
"Vintage\\unsorted\\195_perc_sn_snappy.blkx",
"Vintage\\unsorted\\195_ton_church_organ_big.blkx",
"Vintage\\unsorted\\195_ton_moving_organ.blkx",
"Vintage\\unsorted\\195_ton_rhodesOPL.blkx",
"Vintage\\unsorted\\198_perc_sn_snappy_update.blkx",
"Vintage\\unsorted\\198_perc_sn_snappy_update2.blkx",
"Vintage\\unsorted\\198_ton_pad_goliaths_itch.blkx",
"Vintage\\unsorted\\198_ton_pad_goliaths_itch2.blkx",
"Vintage\\unsorted\\198_ton_pad_quitebig.blkx",
"Vintage\\unsorted\\198_ton_pad_quitebig2.blkx",
"Vintage\\unsorted\\200_perc_bd_tamed.blkx",
"Vintage\\unsorted\\200_perc_sn_WB_usenoteoff.blkx",
"Vintage\\unsorted\\200_perc_sn_fanfare.blkx",
"Vintage\\unsorted\\200_ton_80sbass.blkx",
"Vintage\\unsorted\\200_ton_80sbass2.blkx",
"Vintage\\unsorted\\200_ton_bass_mono.blkx",
"Vintage\\unsorted\\207_lead_octogon2_verb.blkx",
"Vintage\\unsorted\\207_perc_bd_duff_g2sharp.blkx",
"Vintage\\unsorted\\207_perc_hh_crunchyOpen.blkx",
"Vintage\\unsorted\\207_perc_sn_snappy_mod4.blkx",
"Vintage\\unsorted\\207_perc_sn_snappy_update3.blkx",
"Vintage\\unsorted\\207_ton_bass_7thDetuned.blkx",
"Vintage\\unsorted\\207_ton_bass_7thDetuned_filt.blkx",
"Vintage\\unsorted\\207_ton_monophonic_cuteHook.blkx",
"Vintage\\unsorted\\222_perc_bd_c3_usenoteoff_simpleBD_decent.blkx",
"Vintage\\unsorted\\222_perc_bd_c5_noncomplex.blkx",
"Vintage\\unsorted\\222_perc_bd_clonestart_01.blkx",
"Vintage\\unsorted\\222_perc_bd_clonestart_01_noteoff4tick.blkx",
"Vintage\\unsorted\\222_perc_bd_clonestart_01_noteoff4tick_v2.blkx",
"Vintage\\unsorted\\222_perc_hh_noswuave2_01.blkx",
"Vintage\\unsorted\\222_perc_hh_synthy_01.blkx",
"Vintage\\unsorted\\236_want.blkx",
"Vintage\\unsorted\\239_ton_lead_organ_metalOka.blkx",
"Vintage\\unsorted\\239_ton_pad_highStrungString.bmx.blkx",
"Vintage\\unsorted\\239_ton_stab_pad_eclipse_01.blkx",
"Vintage\\unsorted\\239_ton_stab_pad_eclipse_02_elaborated.blkx",
"Vintage\\unsorted\\241_perc_bd_nopulse_doof.blkx",
"Vintage\\unsorted\\241_perc_bd_pulseBam_c3.blkx",
"Vintage\\unsorted\\241_perc_hh_ohtest.blkx",
"Vintage\\unsorted\\241_ton_bass_m00dular.blkx",
"Vintage\\unsorted\\241_ton_bass_m00dular_bend.blkx",
"Vintage\\unsorted\\241_ton_lead_versatyle.blkx",
"Vintage\\unsorted\\241_ton_lead_wind_panpipe.blkx",
"Vintage\\unsorted\\242_perc_hh_ohtest.blkx",
"Vintage\\unsorted\\242_perc_hh_ohtest_flange_01.blkx",
"Vintage\\unsorted\\242_perc_hh_steinHat.blkx",
"Vintage\\unsorted\\259_perc_hh_ch_testrun_mod.blkx",
"Vintage\\unsorted\\259_ton_bass_passaround.blkx",
"Vintage\\unsorted\\259_ton_stab_dubMon1.blkx",
"Vintage\\unsorted\\261_PERC_alrightShortHat.blkx",
"Vintage\\unsorted\\261_perc_bd_hard.blkx",
"Vintage\\unsorted\\261_perc_bd_hard_2_useEQ.blkx",
"Vintage\\unsorted\\261_perc_hihat_short_decent.blkx",
"Vintage\\unsorted\\261_perc_modulatableHihat.blkx",
"Vintage\\unsorted\\261_perc_modulatableHihat_NIFTY.blkx",
"Vintage\\unsorted\\261_perc_ruderide.blkx",
"Vintage\\unsorted\\261_perc_shaker_soft.blkx",
"Vintage\\unsorted\\261_ton_bassStabb.blkx",
"Vintage\\unsorted\\261_ton_deepLead.blkx",
"Vintage\\unsorted\\261_ton_deepLead_ext.blkx",
"Vintage\\unsorted\\261_ton_dyingDub.blkx",
"Vintage\\unsorted\\261_ton_lead_3030303030.blkx",
"Vintage\\unsorted\\261_ton_lowStab.blkx",
"Vintage\\unsorted\\261_ton_niceModulator_stab.blkx",
"Vintage\\unsorted\\261_ton_niceModulator_stab_ext.blkx",
"Vintage\\unsorted\\261_ton_pad_dubMe.blkx",
"Vintage\\unsorted\\261_ton_sensiLead.blkx",
"Vintage\\unsorted\\261_ton_ultraniceBassLine.blkx",
"Vintage\\unsorted\\274_perc_BD_deftig_001.blkx",
"Vintage\\unsorted\\274_perc_BD_sniper.blkx",
"Vintage\\unsorted\\274_perc_bd_Short_Comfy.blkx",
"Vintage\\unsorted\\274_perc_bd_more909.blkx",
"Vintage\\unsorted\\274_perc_hihat_Short_MajorOffset.blkx",
"Vintage\\unsorted\\274_perc_hihat_Short_getRank.blkx",
"Vintage\\unsorted\\274_perc_hihat_Short_perci.blkx",
"Vintage\\unsorted\\274_perc_hihat_somewhatconvincing.blkx",
"Vintage\\unsorted\\274_ton_loudBaseLiner.blkx",
"Vintage\\unsorted\\278_perc_BD_clean.blkx",
"Vintage\\unsorted\\279_perc_BD_ROUGH.blkx",
"Vintage\\unsorted\\README.md",
"Vintage\\unsorted\\SVN160_BD_909_mono.blkx",
"Vintage\\unsorted\\SVN160_BD_909_mono_fixed.blkx",
"Vintage\\unsorted\\SVN160_BD_909_mono_short.blkx",
"Vintage\\unsorted\\SVN160_BD_909_mono_sustainclick.blkx",
"Vintage\\unsorted\\SVN160_TONAL_AXF_stereo.blkx",
"Vintage\\unsorted\\SVN160_TONAL_BELL_mellow_mono.blkx",
"Vintage\\unsorted\\SVN160_TONAL_pad_stereo.blkx",
"Vintage\\unsorted\\SVN160_TONAL_sh101_stereo.blkx",
"Vintage\\unsorted\\V52_perc_HH_long_stereo.blkx",
"Vintage\\unsorted\\V52_perc_HH_short_stereo.blkx",
"Vintage\\unsorted\\perc_cp_808_sortOf2_mono.blkx",
"Vintage\\unsorted\\perc_cp_808_sortOf_mono.blkx",
"Vintage\\unsorted\\svn166_tonal_wideDetune_basic.blkx",
"Vintage\\unsorted\\v166_fx_TronStab.blkx",
"Vintage\\unsorted\\v171_bd_dewp_e3_mono.blkx",
"Vintage\\unsorted\\v171_snare_909_c4sharp.blkx",
"Vintage\\unsorted\\v185_pad_dubstab_simple_Stereo.blkx",
"Vintage\\unsorted\\v52_fauxverb_pad_detuned2_dist.blkx",
"Vintage\\unsorted\\v52_fauxverb_pad_detuned3_dist.blkx",
"Vintage\\unsorted\\v52_fauxverb_pad_detuned_dist.blkx",
"Vintage\\unsorted\\v52_fauxverb_pad_dist.blkx",
"Vintage\\unsorted\\v52_perc_BD_detroit_boom.blkx",
"Vintage\\unsorted\\v52_perc_HH_interestingclick.blkx",
"Vintage\\unsorted\\v52_perc_HH_interestingclick_02.blkx"]
}
{"description":"coffee_i_forget_how_to","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data2.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"util.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"injet.coffee":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.coffee":{"default":true,"vim":false,"emacs":false,"fontSize":12},"utils.coffee":{"default":true,"vim":false,"emacs":false,"fontSize":12},"details.ssv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"details.txt":{"default":true,"vim":false,"emacs":false,"fontSize":12},"details.tsv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"cardamon.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"thumbnail":"http://i.imgur.com/rUN41qB.png","ajax-caching":true}
prefix = "https://raw.githubusercontent.com/zeffii/BLOK_patches/master/"
data = tributary.cardamon
num_patches = data.images.length
items_wide = Math.floor(Math.sqrt(num_patches)) # wide
psize = 46
downscale = 0.9
style_one =
fill: '#C5C5C5',
stroke: '#686868'
'stroke-width': 1
svg = d3.select("svg")
svg.append("rect").attr({width:"100%", height:"100%", fill: '#E2E2E2'})
group1 = svg.append('g')
.classed('group1', true)
.attr
transform: 'translate(' + [75, 42] + ')'
tb = group1.selectAll("rect").data(data.images)
tb.enter()
.append('rect')
.attr
height: psize * downscale
width: psize * downscale
transform: (d,i) ->
x = psize * (i % items_wide)
y = psize * Math.floor(i / items_wide)
'translate(' + [x, y] + ')'
.style
'fill': (d,i) -> "#aa3322"
.cm-s-elegant.CodeMirror { background: #1e2426; color: #696969; }
.cm-s-elegant div.CodeMirror-selected {background: #064968 !important;} /* 33322B*/
.cm-s-elegant span.cm-variable { color:#22EFFF; }
.cm-s-elegant span.cm-variable-2 { color: #FFCCB4; }
.cm-s-elegant span.cm-variable-3 { color: white; }
.cm-s-elegant span.cm-string { color: Chartreuse; }
.cm-s-elegant span.cm-string-2 {color: Chartreuse;}
.cm-s-elegant span.cm-def {color: #FFCCB4; opacity: 1.0}
.cm-s-elegant span.cm-bracket { color: #EBEFE7; }
.cm-s-elegant pre { color:#FFF; }
.cm-s-elegant span.cm-qualifier { color:#C0C0C0; }
.cm-s-elegant span.cm-comment { color: #AFB4B4;}
.cm-s-elegant span.cm-property {color: #FDA676;}
.cm-s-elegant span.cm-number { color: #FF92EE;}
.cm-s-elegant span.cm-keyword { color: #FFFF18; }
.cm-s-elegant .CodeMirror-cursor { border-left: 1px solid white !important; }
.cm-s-elegant .CodeMirror-gutters {background: #505050;}
.cm-s-elegant .CodeMirror-linenumber {color: #D3D3D3;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment