Page 2 of 2
Re: Flip Your Lid
Posted: Sun Apr 06, 2014 7:26 pm
by richmond62
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.
Re: Flip Your Lid
Posted: Sun Apr 06, 2014 7:48 pm
by [-hh]
..........
Re: Flip Your Lid
Posted: Sun Apr 06, 2014 7:57 pm
by richmond62
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.
Re: Flip Your Lid
Posted: Sun Apr 06, 2014 9:09 pm
by [-hh]
..........
Re: Flip Your Lid
Posted: Mon Apr 07, 2014 3:08 am
by [-hh]
..........
Re: Flip Your Lid
Posted: Mon Apr 07, 2014 11:27 am
by bn
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
Re: Flip Your Lid
Posted: Mon Apr 07, 2014 2:05 pm
by [-hh]
..........
Re: Flip Your Lid
Posted: Tue Apr 08, 2014 12:24 am
by bn
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
Re: Flip Your Lid
Posted: Tue Apr 08, 2014 2:26 am
by [-hh]
..........
Re: Flip Your Lid
Posted: Tue Apr 08, 2014 2:43 pm
by [-hh]
..........
Re: Flip Your Lid
Posted: Wed Apr 09, 2014 11:43 am
by bn
Hi Hermann,
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 flickering is due to rounding errors when the angle between "To" and "Via" gets too small.
The explanation is a bit technical and would put too many readers asleep. Anybody interested in this can PM me.
Kind regards
Bernd