v21’s avatarv21’s Twitter Archive—№ 52,806

      1. ncase.me/joy/ JOY.JS this looks realllllll cool. a JS library for letting people write tiny bits of comprehensible, explorable, non-scary code.
    1. …in reply to @v21
      played around with the random music demo: ncase.me/joy/demo/music/?data=N4IglgdgzgLgTgVwMYzAe2iAXKAhi9TLAbVBgE8AHAU2xAFtcYALAeimphABoQA3XHAi56tHCAo06AuGFwAjADbUAciNq841AGYBJACJ0wAEwCMIAL68BihGLJUxICAnrzqcAPpxcAdx4gSMy4kNikEo50Lm4e3n4BNnbYAAwWALoWVg5SWODQ8MioGFCsWjRMAUhoCBBc4pJO0e5wlcGhJNmNrs1x-ta4tmKmyakZvPhFRHgExWGddIws7JwJgsKi2PO5MnJKquoBWnqGuSYATJb9g5sROc7dsT59gW0Qc7ddMV5Pq9dYyQA6UzpTLcLYgHwQYxoejLLj9IQHeqRbaCXbKNQbTQ6AxGYwAZku93oDRuiSckBg1AA5h4AqTckE0GgOET6O1wU06bwgiE3h0PlEHt94lcklh8aMrAxcAAPG4M4nNVp896Krki57k7D4gDsIKygtyizYHHh-DWSPBOwUGIO2OOeIALETtci7hreir2uF1cKvWKxABWIMGsFGvKwRAzaClajlc1VGp1TnC73830oi2yW37LEQnEncAEyxjEATQhQG4V2YCxUm1hoGg+SYBJseJiEMkDcUgABU9KzTJZtGlMnW9gjNr2mI0Bcdp2MLrHPcnfq+AZeqrrWc9P0D2FMAOSQYAnE6AGwGtLYs0ANTRuarWG0Aw4vEVNcwoPBkOhsLAbQVQgJA113NMeVeNVwI3fcLT+S8QXGGNn2mSZn0zO56AQKAwCQVgIDQKkAkoMAYCCBUYOVSDt0wpxpztfMjlxRdklLaVUA2d1PmorcfWtR8Z3tecWOLcwkJAZQIGpFhKI9CC+IzAScyEpjCzxC4w3BBt2xbLteF0zsMG7P4QAAakHO5h1ZFdES45T0TzOdmKLExxIPbihVg0VFOg+TvK1VcUgBM5r1vTgHxU5Rn1fRR3wjL8qx-CM-xhVhAOA0C5J47lfJ3fyej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8NQfxqFixsXECYPEbEPy4GpBhG+IBHHGCYLgEyvZkkUSEYoNALQSDJG4ICC83BTBliqBACA1AUDUGMNgUKvA3I3CRUNekaKMXK2xbi-FTgCnyxJWS4gkpKUAgABw0rpRgRlzLWVYH1ByuOXKVXFguKi9FYRMWCpgHi9RvZjAIAIWK0lYQzgXgpYCXU8rpT0qVVSFVoZ1WEkRVqkwhJdX8rTIa41MzGhETnFUcVYR8TDGldS2lTrFVMtddgd1xYXReudLyvVJADW8BxUa4VdBCWpOJVa8lMbHVCIZYmll2AnTShMKTdNi5SZ+v1QK3NQqTVODNQQ7CihUCUEUGAfmaAI0kClYCOVcbK0uprRKettDNV4gQa27N7aQB5qDSYiQYBRCQCQFoXArIS0SrONGydFbAgJuVTqTIFggA voila! a random music generator that has two instruments and plays in key (at least vaguely). one even does chords! this was fun to work out how to do, and smoothly accessible from playing with the example.
  1. …in reply to @v21
    it's a real nice feeling to play with something with the same mindset as CBDQ: easy and accessible to start, and if you really need those more powerful features you can find kludgey ways to get the same effect yourself
    1. …in reply to @v21
      eg: me: oh, i wish i could do else me: i could set a flag in that if, and check if it's unchanged afterwards? kinda messy... me: or i could just... try this thing with an independent conditional probability me: ah, yeah, that sounds okay, let's not do the elsey thing at all