I'm new. I'm glad I stumbled onto this little project. It looks like
it's off to a good start.
I'm currently a Ph.D. student, researching electronic musical
instruments with built-in electrical generators. As part of the
project, I am curious about browser-based (online and offline) musical
instrument design applications. Your program seems to strike me as
similar to CAD programs like xfig, Illustrator, MAX/MSP, CorelDraw,
etc.
I'm not very experienced with Javascript, but I am interested in
developing JSVE further. Specifically, I'd like to add an "Info"
window like Info(F10) in PhotoShop, or the coords in CorelDraw.
BTW, here is my project's wiki http://exertion.pbworks.com/ and
Here's sneak preview of what I have so far:
http://exertion.pbworks.com/f/1266312338/CoordinateDemo.png
| Hi you want to make you application sensitive to keystrokes.. function changeKey(which, to){ switch (which){ case 65:case 37: key[0]=to; break; // 'traps ASCII A & Left arrow key case 87: case 38: key[2]=to; break; // up case 68: case 39: key[1]=to; break; // right case 83: case 40: key[3]=to; break;// down } } document.onkeydown=function(e){changeKey((e||window.event).keyCode, 1);}; document.onkeyup=function(e){changeKey((e||window.event).keyCode, 0);}; Regards Charles. --- On Tue, 2/16/10, Kevin <antima...@gmail.com> wrote: |
| Noah, You can probably trap the keycode you want by playing with the keyboard and this script: http://javascript.internet.com/miscellaneous/ascii-character-code.html Regards Charles http://www.irunmywebsite.com/ --- On Tue, 2/16/10, Noah Vawter <nva...@media.mit.edu> wrote: |
| Noah I'm thinking you need to understand the transformation aspect of SVG. The most complex of which is transform Matrix. Here is a URL to study... http://www.w3.org/TR/SVG/coords.html#TransformAttribute It's about performing all transforms using SVG Matrix math. Sometimes simpler transforms can be used and sometimes the transforms affect a group rather than an individual object. Regards Charles |
--- On Wed, 2/17/10, Noah Vawter <nva...@media.mit.edu> wrote: |
|
|