[Drawkit] warped/warpable grid?

James Maxwell jbmaxwell at rubato-music.com
Fri Jun 6 09:07:52 PDT 2008


Actually, I just realized that I'd also be talking about a grid which  
is asymmetric along the x and y axes, which is probably kind of  
unusual... It seems pretty clear that I'll need to make a fairly  
complex subclass of DKGridLayer, if I want to take this route, but any  
thoughts would still be appreciated. I'm thinking particularly of  
whether this might be something worth including in the framework, in  
general, Graham(??).

cheers,

J.


On 6-Jun-08, at 8:54 AM, James Maxwell wrote:

> Hello All,
>
> For the musical space I'm working on I need what could really be  
> thought of as a "warped" grid. That is, a grid which is capable of  
> having a changing spans, majors, and divisions - at least along the  
> x-axis. A set division value for the y-axis would be fine (I don't  
> even really need a y-axis grid, though it might provide a handy  
> shortcut for some purposes). Also, the variable x-axis grid should  
> be editable by the user (i.e., dynamically changing spans, majors,  
> divisions).
>
> I've been looking over DKGridLayer.m, but there doesn't seem to be  
> support for this kind of grid. Basically, I need to be able to mark  
> an x-axis place on the grid as a new "origin", and change the grid  
> spacing from that point "forward" (i.e., left-to-right in musical  
> time). I have built a simple timeline object, which maintains  
> something similar to a grid, which I could use for this purpose, but  
> it would be more elegant to use a grid layer, to benefit from the  
> integration with DK. In particular, it appears that the nudge  
> amounts are dictated by the grid, so it would be nice to pick up the  
> nudge functionality, without having to re-write it from scratch.
>
> I know this is not a function that many people would likely need,  
> but it could still find uses in other types of applications, I  
> think. Any thoughts on how to go about doing this would be  
> appreciated.
>
> cheers,
>
> J.
> _______________________________________________
> Drawkit mailing list
> Drawkit at lists.apptree.net
> http://lists.apptree.net/listinfo.cgi/drawkit-apptree.net



More information about the Drawkit mailing list