Flip Your Lid
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Flip Your Lid
This is a flipping nuisance in many respects:
1. The absolutely miniscule size limit on files that can be uploaded here.
2. My version (hijacking Hermann's code) goes back-to-front.
it's here: http://andregarzia.on-rev.com/richmond/ ... vecode.zip
Grateful for any sorting out that can be done with the code.
1. The absolutely miniscule size limit on files that can be uploaded here.
2. My version (hijacking Hermann's code) goes back-to-front.
it's here: http://andregarzia.on-rev.com/richmond/ ... vecode.zip
Grateful for any sorting out that can be done with the code.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Flip Your Lid
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:15 pm, edited 1 time in total.
shiftLock happens
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Flip Your Lid
The "wise guy" on my right told me he was a pensioner who dropped in because the first day was free, and so was the wine:
he seemed a pleasant sort of chap so we had a drink together.
he seemed a pleasant sort of chap so we had a drink together.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Flip Your Lid
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:15 pm, edited 2 times in total.
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Flip Your Lid
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:15 pm, edited 1 time in total.
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 3999
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Flip Your Lid
Hi,
I tried to find a solution that does not use images/alphaData.
It uses a graphic with a gradient and some ink magic. It imports one snapshot.
The logic is in the background group "nav"
The gradient can be tweaked to have a sharper border. If one can live with the shape of the gradient than this would be a way to make a transition effect. (btw originally I used a linear gradient that reveals diagonally).
The code to calculate the path is lifted from somebodys code, I think it is from Craig Newman.
And I would be very interested in how/if it works on Rasperry PI. And of course on Linux.
It works as intended in Livecode 6.5 and up (including 7.0DP2). 5.5 up to 6.1.3 there is an issue with ink, if anyone asks for it I would look into it. All testing done on MacOSX 10.6.8.
Kind regards
Bernd
I tried to find a solution that does not use images/alphaData.
It uses a graphic with a gradient and some ink magic. It imports one snapshot.
The logic is in the background group "nav"
The gradient can be tweaked to have a sharper border. If one can live with the shape of the gradient than this would be a way to make a transition effect. (btw originally I used a linear gradient that reveals diagonally).
The code to calculate the path is lifted from somebodys code, I think it is from Craig Newman.
And I would be very interested in how/if it works on Rasperry PI. And of course on Linux.
It works as intended in Livecode 6.5 and up (including 7.0DP2). 5.5 up to 6.1.3 there is an issue with ink, if anyone asks for it I would look into it. All testing done on MacOSX 10.6.8.
Kind regards
Bernd
- Attachments
-
- Flipping_0_2BN.livecode.zip
- (212.82 KiB) Downloaded 253 times
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Flip Your Lid
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:14 pm, edited 1 time in total.
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 3999
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Flip Your Lid
Hi Hermann,
thank you for your kind words.
Unfortunately I can not get the effect to work on LiveCode 6.1.3 and below. The stacking of ink effects does not work the same as in LC 6.5 and onwards.
So it is only half of the effect for users of LC 6.1.3 and below.
Kind regards
Bernd
thank you for your kind words.
Unfortunately I can not get the effect to work on LiveCode 6.1.3 and below. The stacking of ink effects does not work the same as in LC 6.5 and onwards.
So it is only half of the effect for users of LC 6.1.3 and below.
Kind regards
Bernd
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Flip Your Lid
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:14 pm, edited 1 time in total.
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Flip Your Lid
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:14 pm, edited 1 time in total.
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 3999
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Flip Your Lid
Hi Hermann,
The explanation is a bit technical and would put too many readers asleep. Anybody interested in this can PM me.
Kind regards
Bernd
The flickering is due to rounding errors when the angle between "To" and "Via" gets too small.The stack from my last post works 'smoothly' at different combination of stack sizes and "animation steps". But for other combinations not, there is a strange flickering near the end of animation. Try for example to increase the width and to decrease the height in several steps. You'll find soon a size causing this flickering at end.
The explanation is a bit technical and would put too many readers asleep. Anybody interested in this can PM me.
Kind regards
Bernd