Imaging in LiveCode: Pattern Weaver

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Luisa Klose
Posts: 48
Joined: Tue Aug 30, 2011 2:24 pm

Imaging in LiveCode: Pattern Weaver

Post by Luisa Klose » Sat Sep 03, 2011 10:53 pm

Hi, I'm on the trial version of LiveCode and enjoying it very much. Here's a stack I made from a function in an application I wrote in Director Lingo almost 10 years ago. I want to share it on RevOnline, but I guess I'll have to wait until I purchase the license. In the meantime, here it is. I hope you like it.

Luisa
Attachments
PixelToolbox_PatternWeaver2.zip
(5.2 KiB) Downloaded 398 times

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Imaging in LiveCode: Pattern Weaver

Post by jmburnod » Sun Sep 04, 2011 12:44 pm

Hi Luisa,

It work well for me. Congratulations.
local weaveSubVar -- I am not sure if it is necessary to declare this variable.
Yes. Because weaveSubVar is using by several handlers
- I'm not sure why this section is more complex than the vertical strand shadows, requiring 3 separate handlers.
Yes. Maeby there is a more simple way. Using some graphics and import snapshot

Best regards

Jean-Marc
https://alternatic.ch

Luisa Klose
Posts: 48
Joined: Tue Aug 30, 2011 2:24 pm

Re: Imaging in LiveCode: Pattern Weaver

Post by Luisa Klose » Sun Sep 04, 2011 3:34 pm

Thank you, Jean-Marc, I'm glad it works well for you.

Yes, I tried not declaring a local variable in another script and it didn't work.

Warm regards,
Luisa

Luisa Klose
Posts: 48
Joined: Tue Aug 30, 2011 2:24 pm

Re: Imaging in LiveCode: Pattern Weaver

Post by Luisa Klose » Sun Sep 04, 2011 10:38 pm

Here is another stack I created. This one allows the user to interactively draw horizontal gradients. The performance isn't too bad, but too slow for a lot of applications.

Regards,

Luisa Klose
Attachments
Draw_Gradients.zip
(2.32 KiB) Downloaded 401 times

Luisa Klose
Posts: 48
Joined: Tue Aug 30, 2011 2:24 pm

Re: Imaging in LiveCode: Pattern Weaver

Post by Luisa Klose » Mon Sep 05, 2011 12:47 am

Bernd Niggeman made a significant improvement to my Draw Gradients stack and I thought I would post the link to the improved version.

I know that links are verbotten around here, so it's in my thread in the Feature Requests forum. Here's the link anyway with spaces in place of the dots:

forums runrev com/download/file php?id=913

Post Reply