Creative Coding: Visual Experiments & Information Pipeline

an ongoing coding and research seminar


keyboard input, basic template


View the experiment
Git repository

$(document).ready(function(){
  $('body').on('keyup', function(k){
    
    var keypressed = k.originalEvent.key
    console.log(keypressed);

    switch(true) {
      case keypressed = 'w':
      // code
        break;
      case keypressed = 'a':
        break;
      case keypressed = 's':
        break;
      case keypressed = 'd':
        break;  
    }
  });
});

Repository for this website (assemble, build, deploy): https://github.com/jrgd/creative_coding_website
Main website: CreativeCoding.xyz
Author: Jerome Rigaud