Search

Search results

  1. Using the JavaScript Camera API, we create a small app that lets you take pictures with a halftone effect. The effect parameters can then be tweaked with some custom styled slider controls. Taking a picture We create a function in JavaScript called takePicture which we bind to from UX. var picture = Observable('Icons/background.jpg'); var filterApplied = Observable(false); function takePicture(){ Camera.takePicture(1000, 1200).then(function(file){ picture.value = file; fi...

    Effects Custom control Camera