[ Launch: coffee_i_forget_how_to ] 9830b0934c744ed41c01 by zeffii
[ 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
-
-
Save zeffii/9830b0934c744ed41c01 to your computer and use it in GitHub Desktop.
coffee_i_forget_how_to2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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"] | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"description":"coffee_i_forget_how_to2","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":false,"inline-console":false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data, downscale, group1, items_wide, num_patches, prefix, psize, rect_style, style_one, svg, tb, tile; | |
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)); | |
psize = 50; | |
downscale = 0.9; | |
style_one = {fill: '#5f22ae', stroke: '#e0e0e0', 'stroke-width': 1}; | |
rect_style = {fill: "#a6d0e7", stroke: "#535614", 'stroke-width': 1.3708}; | |
d3.select("body").style("background-color", rgb(25,25,25)) | |
var svg = d3.select("svg"); | |
var blok_patches = svg.append("g").classed("blok_patches", true); | |
var button_col = '#66665A'; | |
var text_style = { | |
"fill": "#a8D8D8", | |
"font-size": 0.61753 +"em", | |
"font-face": "sans-serif" | |
}; | |
var y_pos = -6; | |
var x_pos = 120; | |
function draw_content() { | |
var sg = blok_patches.append("g") | |
.classed("solo_group", true) | |
.attr("transform", translate(x_pos, y_pos)) | |
var groups = sg.selectAll("g") | |
.data(data.images); | |
var bp = groups.enter() | |
.append("g") | |
.classed("inlet_", true) | |
.attr({ | |
"transform": function(d, i){ | |
var xy = get_pos(i); | |
return translate(xy[0], 50 +xy[1]) | |
}}) | |
// for each patch group make a xlink:href | |
.append("a") | |
.attr({ | |
"xlink:href": function(d){ return prefix + d}, | |
"xlink:show": "new", | |
"cursor": "pointer" | |
}) | |
// for each patch group make a rect | |
bp.append("rect") | |
.style(rect_style) | |
.attr({ | |
"height": psize*downscale, | |
"width": psize*downscale | |
//"id": function(d){ return d.gistid } | |
}) | |
// attach mouse behaviour | |
.each(function(d){ | |
var obj = d3.select(this); | |
obj.on("mouseover", function(d){ | |
obj.style("fill", "#33A9CE") | |
obj.style("stroke-width", 0.8 + "px") | |
}) | |
obj.on("mouseout", function(d){ | |
obj.transition().duration(200).style(rect_style) | |
}) | |
}) | |
// for each patch group make a text label | |
bp.append("text") | |
.text(function(d){ return d}) | |
.classed("inlet_label", true) | |
.style(text_style) | |
.attr({"x": 28, "y": 16}) | |
} | |
draw_content() | |
// ----------- helper functions ---------------- | |
function get_pos(i){ | |
var x = psize * (i % items_wide); | |
var y = psize * Math.floor(i / items_wide); | |
return [x, y] | |
} | |
function translate(value_x, value_y){ | |
return "translate(" + [value_x, value_y] + ")" | |
} | |
function rgb(r, g ,b) { | |
return "rgb(" + [r,g,b] + ")" | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cm-s-lesser-dark.CodeMirror { background: #1e2426; color: #696969; } | |
.cm-s-lesser-dark div.CodeMirror-selected { | |
background: #064968 !important;} /* 33322B*/ | |
.cm-s-lesser-dark span.cm-variable { color:#22EFFF; } | |
.cm-s-lesser-dark span.cm-variable-2 { color: #FFCCB4; } | |
.cm-s-lesser-dark span.cm-variable-3 { color: white; } | |
.cm-s-lesser-dark span.cm-string { color: Chartreuse; } | |
.cm-s-lesser-dark span.cm-string-2 {color: Chartreuse;} | |
.cm-s-lesser-dark span.cm-def {color: #FFCCB4; opacity: 1.0} | |
.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } | |
.cm-s-lesser-dark pre { color:#FFF; } | |
.cm-s-lesser-dark span.cm-comment { color: #AFB4B4;} | |
.cm-s-lesser-dark span.cm-property {color: #FDA676;} | |
.cm-s-lesser-dark span.cm-number { color: #FF92EE;} | |
.cm-s-lesser-dark span.cm-keyword { color: #FFFF18; } | |
.cm-s-lesser-dark .CodeMirror-cursor { | |
border-left: 1px solid white !important; } | |
.background{ | |
visibility: visible !important; | |
fill: #FFFFFF; | |
} | |
.extent { | |
visibility: visible !important; | |
fill: #84D8F8; | |
} | |
.resize rect { | |
visibility: visible !important; | |
fill: #888888; | |
} | |
#panel{ | |
width: 550px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment