cothrun + algorithm   197

Pete Corey - Computing Fingering Distance with Dr. Levenshtein
Jumping off after our previous two articles on Voice Leading with Elixir, and Algorithmically Fingering Guitar Chords with Elixir, we’re left with a series of chord voicings ranked according to how well they voice lead from our starting chord, and the set of all possible fingerings for each of these voicings.

Given that our starting chord has a known fingering, which fingering of each of these “best” voicings is the “easiest” to play after our starting chord?

This is an interesting question, and gives us the opportunity to flex our algorithmic muscles again. This time we’ll be basing our solution on a modified version of the Levenshtein distance algorithm for finding the “edit distance” between two strings.
guitar  algorithm  elixir 
10 weeks ago by cothrun
Decision Tables | Lobsters
A decision table is a means of concisely representing branching and conditional computations. In the most basic form, you have some columns that represent the “inputs” as booleans and some columns that represent outputs and effects. It looks like this:
july 2018 by cothrun
Provides a DSL to define a set of tests based on a truth table - for RSpec
algorithm  ruby 
july 2018 by cothrun
Graph Data Structures for Beginners | Adrian Mejia Blog
In this post, we are going to explore non-linear data structures like graphs. We are going to cover the central concepts and typical applications.
graph  learning  algorithm 
june 2018 by cothrun
A Primer on Bézier Curves
So, what if you need to program them yourself? What are the pitfalls? How do you draw them? What are the bounding boxes, how do you determine intersections, how can you extrude a curve, in short: how do you do everything that you might want when you do with these curves? That's what this page is for. Prepare to be mathed!
math  algorithm  graphics 
april 2017 by cothrun
Daily Sketches in 2016 – Medium
In 2016 I started an experiment of doing daily sketches in the form of short animations posted on instagram. In these sketches I tried out different visual ideas involving geometry, animation, gesture and graphic form. I had no idea what to expect but it felt like a good new years resolution and nice way to experiment with some ideas I had been thinking about. I was inspired by folks like Reza Ali who were doing daily sketches at the time and thought, I should do this.
art  programming  generator  processing  shader  3d  algorithm  inspiration 
december 2016 by cothrun
« earlier      
per page:    204080120160

related tags

3d  a*  algebra  algorithm  analysis  art  astar  audio  av1  bayes  bigdata  bitcoin  bktree  blogthis  boids  book  books  bpg  buffer  c  c#  C++  career  chords  clojure  codec  color  complexity  compression  computerscience  computervision  concurrency  constraint  creativity  cryptocurrency  cryptography  csp  culture  d3  dag  data  database  datamining  datastructures  deduplication  deeplearning  design  development  discussion  distributed  drums  duplication  education  eiffel  elixir  encryption  engineering  error  exercises  fft  flocking  format  fractal  functional  game  gamedev  games  garbagecollection  gc  generative  generator  genetics  geocoding  geometry  gif  gis  golang  gpu  graph  graphics  guitar  hadoop  hamming  hash  haskell  hft  history  humor  image  images  implementation  index  inspiration  internet  interview  ipython  java  javascript  jobs  kalmanfilter  learning  lego  library  linux  lisp  lists  locking  machinelearning  mapreduce  maps  math  maze  memory  metal  model  music  neuralnetwork  node.js  numpy  optimization  pandas  paper  parser  pathfinding  patterns  paxos  perception  perceptualhash  performance  perl  PGP  photography  practice  probabilistic  probability  procedural  processing  programming  projects  puzzles  python  qrcode  ranking  redis  reference  regex  religion  rhythm  riff  ruby  scala  schedule  science  scipy  search  shader  sift  simulation  solver  sounds  sql  statemachine  statistics  structures  sudoku  sync  textures  theory  tiles  timelapse  todo  tool  tools  toread  tutorial  ui  usenet  ux  video  visualization  webdev  xkcd 

Copy this bookmark: