Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Create ugens for tracking mouse movement #18

Closed
colinbdclark opened this Issue Apr 15, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

colinbdclark commented Apr 15, 2012

It's really convenient to test synth designs by mapping the mouse to different parameters. A comprehensive set of mouse unit generators might include:

  1. Mouse position tracker, for both x and y axes:
    a. screen-wide
    b. within a specific element (finger.js provides a good model for this)
  2. Mouse click tracker, which will serve as a trigger:
    a. anywhere
    b. within a specified element

@colinbdclark colinbdclark was assigned Apr 15, 2012

@colinbdclark colinbdclark added a commit that referenced this issue Apr 15, 2012

@colinbdclark colinbdclark gh-18: Adds a simple screen-wide mouse tracking unit generator.
Improved the demo playground by automatically loading demos when they are selected.
Other minor demo-related tweaks.
6b61464

@colinbdclark colinbdclark added a commit that referenced this issue Apr 15, 2012

@colinbdclark colinbdclark gh-18: Adds a mouse click ugen.
More minor tweaks to the playground to improve ease of use. Moved all mouse ugens into a "mouse" namespace.
a8302d1

@colinbdclark colinbdclark added a commit that referenced this issue Apr 15, 2012

@colinbdclark colinbdclark Merge branch 'mouse-ugens'
* mouse-ugens:
  gh-18: Adds a mouse click ugen. More minor tweaks to the playground to improve ease of use. Moved all mouse ugens into a "mouse" namespace.
  gh-18: Adds a simple screen-wide mouse tracking unit generator. Improved the demo playground by automatically loading demos when they are selected. Other minor demo-related tweaks.
0930d6c

@colinbdclark colinbdclark added a commit that referenced this issue Apr 17, 2012

@colinbdclark colinbdclark Merge branch 'mouse-ugens'
* mouse-ugens:
  gh-18: Adds support for user-specified elements in flock.ugen.mouse.cursor.
c9d612f

@colinbdclark colinbdclark added a commit that referenced this issue Apr 17, 2012

@colinbdclark colinbdclark gh-18: Fixes event binding bug for mouse move events in flock.ugen.mo…
…use.cursor.

This should be a slightly more performant implementation, binding onmousemove to only the target element, not the window as a whole.
8a24dcc

@colinbdclark colinbdclark added a commit that referenced this issue Apr 17, 2012

@colinbdclark colinbdclark Merge branch 'mouse-ugens'
* mouse-ugens:
  gh-18: Fixes event binding bug for mouse move events in flock.ugen.mouse.cursor. This should be a slightly more performant implementation, binding onmousemove to only the target element, not the window as a whole.
af32893

@colinbdclark colinbdclark added a commit that referenced this issue Apr 21, 2012

@colinbdclark colinbdclark Merge branch 'mouse-ugens'
* mouse-ugens:
  gh-18: Adds averaging between mouse positions to avoid "zippering" effect.
7f44618

@colinbdclark colinbdclark added a commit that referenced this issue Apr 22, 2012

@colinbdclark colinbdclark Merge branch 'master' into ugen-unit-tests
* master:
  gh-18: Adds averaging between mouse positions to avoid "zippering" effect.
  Tweaks to interactive playground styling. Audiofile demo works again.
  Restyling the interactive demo playground. This commit likely breaks the audiofile demo, which will be fixed in the next commit.
  gh-18: Fixes event binding bug for mouse move events in flock.ugen.mouse.cursor. This should be a slightly more performant implementation, binding onmousemove to only the target element, not the window as a whole.
  gh-18: Adds support for user-specified elements in flock.ugen.mouse.cursor.
  gh-18: Adds a mouse click ugen. More minor tweaks to the playground to improve ease of use. Moved all mouse ugens into a "mouse" namespace.
  gh-18: Adds a simple screen-wide mouse tracking unit generator. Improved the demo playground by automatically loading demos when they are selected. Other minor demo-related tweaks.
b1d3faa

@colinbdclark colinbdclark added a commit that referenced this issue Apr 29, 2012

@colinbdclark colinbdclark Merge branch 'master' into dataview
* master:
  Renamed "source" input to "sources" for multiple input ugens such as out and sum.
  Adds new flock.ugen.sum(), which adds multiple source signals together.
  Closes gh-18: Adds exponential interpolation to the mouse.cursor ugen.
  Improved unit tests and bug fixes for oscillator unit generators.
  gh-18: Adds averaging between mouse positions to avoid "zippering" effect.
  Tweaks to interactive playground styling. Audiofile demo works again.
  Restyling the interactive demo playground. This commit likely breaks the audiofile demo, which will be fixed in the next commit.
  gh-18: Fixes event binding bug for mouse move events in flock.ugen.mouse.cursor. This should be a slightly more performant implementation, binding onmousemove to only the target element, not the window as a whole.
  gh-18: Adds support for user-specified elements in flock.ugen.mouse.cursor.
  gh-18: Adds a mouse click ugen. More minor tweaks to the playground to improve ease of use. Moved all mouse ugens into a "mouse" namespace.
  gh-18: Adds a simple screen-wide mouse tracking unit generator. Improved the demo playground by automatically loading demos when they are selected. Other minor demo-related tweaks.
  Adds (currently failing) tests for the rest of the oscillators.
14228ea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment