Hi,
when plotting an array using [plot] there are three variables treated special in array element templates: x, y and w. Now if I use the w to let the line width change, I'm not able to change the y-position of an element with the mouse anymore. This is on Linux.
I still can change y using "set" objects, though. Is there a way to design my templates, so that y stays mouse-editable as well?
I attached an example patch, which should show this behaviour (w.pd).
Frank Barknecht _ ______footils.org__
Editing of "data" using the mouse is awkward to say the least... I'm still looking for ways to make it more usable. To change "y", you should be able to click 1/2-way batween the upper vertex and the lower vertex that describes a point havin both "y" and "w".
Alt-click to add or delete points (extremely awkward!)
When you drag on the "y" hotspot, whether or not "w" exists, the points past the one being dragged are dragged in parallel; all their values change. There should be a way to turn this on and off; probably there should be a whole bunch of editing "tools" to select from.
cheers Miller
On Sat, Aug 28, 2004 at 12:33:11PM +0200, Frank Barknecht wrote:
Hi,
when plotting an array using [plot] there are three variables treated special in array element templates: x, y and w. Now if I use the w to let the line width change, I'm not able to change the y-position of an element with the mouse anymore. This is on Linux.
I still can change y using "set" objects, though. Is there a way to design my templates, so that y stays mouse-editable as well?
I attached an example patch, which should show this behaviour (w.pd).
Ciao
Frank Barknecht _ ______footils.org__
Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote:
Editing of "data" using the mouse is awkward to say the least... I'm still looking for ways to make it more usable. To change "y", you should be able to click 1/2-way batween the upper vertex and the lower vertex that describes a point havin both "y" and "w".
I found out now that I cannot edit y with mouse, if the array element was defined having y as first field.
This will not let me edit y, only w:
[struct elem float y float x float w] [struct something array elements elem]
whereas this allows edits of y as well:
[struct elem float x float y float w] [struct something array elements elem]
I suppose this is a bug somehow, or am I required to use a certain order by design?
Frank Barknecht _ ______footils.org__
Aha... a bug... in g_array.c line 472:
if (yonset <= 0)
should read:
if (yonset < 0)
thanks for flagging that.
Miller
On Mon, Aug 30, 2004 at 10:58:39AM +0200, Frank Barknecht wrote:
Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote:
Editing of "data" using the mouse is awkward to say the least... I'm still looking for ways to make it more usable. To change "y", you should be able to click 1/2-way batween the upper vertex and the lower vertex that describes a point havin both "y" and "w".
I found out now that I cannot edit y with mouse, if the array element was defined having y as first field.
This will not let me edit y, only w:
[struct elem float y float x float w] [struct something array elements elem]
whereas this allows edits of y as well:
[struct elem float x float y float w] [struct something array elements elem]
I suppose this is a bug somehow, or am I required to use a certain order by design?
Ciao
Frank Barknecht _ ______footils.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Aug 30, 2004, at 4:58 AM, Frank Barknecht wrote:
Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote:
Editing of "data" using the mouse is awkward to say the least... I'm
still looking for ways to make it more usable. To change "y", you should be able to click 1/2-way batween the upper vertex and the lower vertex
that describes a point havin both "y" and "w".I found out now that I cannot edit y with mouse, if the array element was defined having y as first field.
This will not let me edit y, only w:
[struct elem float y float x float w] [struct something array elements elem]
whereas this allows edits of y as well:
[struct elem float x float y float w] [struct something array elements elem]
I suppose this is a bug somehow, or am I required to use a certain order by design?
Just an FYI: I wrote a help file for this. Its in the CVS
doc/pddp/scalar-help.pd I tried to figure out the behavior and
document it. Feel free to correct it or add to it. Or I will when I
get a chance...
I couldn't get anything with Alt-clicking working on MacOS X.
.hc
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps
it to himself; but the moment it is divulged, it forces itself into the
possession of everyone, and the receiver cannot dispossess himself of
it."
- Thomas Jefferson