I always like: 

Iteration == iterationToReplace ? x + offsetX : x

Chris


On 13 Aug 2010, at 18:52, George Toledo <[email protected]> wrote:

> 
> 
> On Fri, Aug 13, 2010 at 1:41 PM, Christopher Wright 
> <[email protected]> wrote:
> > I sent some pics that are awaiting approval (tried to make them small, but 
> > guess it didn't work?).
> 
> No worries, I got 'em   (They were like 4GB TIFFs -- or just 5MB, but that's 
> pretty close to 4GB -- in the future, full screen screen shots aren't 
> strictly necessary, and saving as JPEG will probably save you a ton of space).
> 
> > As I look at this more, I realize that I need to actually not just offset, 
> > but "replace" the value. This is adding a value to one index... but I need 
> > to have the starting point of the offset work so that the placement of the 
> > iteration is considered "origin" point. Back to the drawing board. I've 
> > tried a couple of things to workaround that, but nothing is gellin'. I 
> > can't seem to successfully isolate the value of each position to subtract.
> 
> in that case:
> 
> outputValue = originalValue * (1 - amIBeingReplaced) + replacementValue * 
> (amIBeingReplaced)
> 
> (you may recognize the pattern:  our alphablending chat a few months back had 
> the same form in its naive implementation)
> 
> 
> Oh yeahhh. Frankly, I just need to walk away for a little bit. I've been 
> looking at the computer for too long, getting fatigue where obvious stuff 
> isn't coming to me.
> 
> (BTW, I sent the Tiff's first, then sent again with jpegs-I thought... 
> probably screwed up the attachments. Like I said, I'm in "seeing double from 
> programming too long" mode).
> 
> Thanks again, you're the best,
> George Toledo 
> 
> --
> Christopher Wright
> [email protected]
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com
> 
> This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to