Re: Widget TurnImage89_v100
Hermann: I just downloaded the sample stack for the first time yesterday. But I’ll try this: > ** And before going to "Sample Stacks" please clear the revonline > cache in the LC preferences. ** Thanks, Bill > On Feb 7, 2019, at 5:36 PM, hh via use-livecode > wrote: > > Bill, > > the installer button should work, did you use an earlier stack? > The widget is not downloaded by the installer button but is a > custom property of the downloaded stack: > ** You have to download the sample stack for each new version. ** > Sorry, as soon as the "widgets store" works I'll use that. > > Installing works here, please try again. Trash the old stack. > > ** And before going to "Sample Stacks" please clear the revonline > cache in the LC preferences. ** > > +++ > > Just uploaded a new version 1.2.0, that removes a bug that crashed LC > when resizing the widget in pointer mode. This now does nothing with > the images, the widget simply clips to its new size. > > (Thanks Bernd for the report). > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
Bill, the installer button should work, did you use an earlier stack? The widget is not downloaded by the installer button but is a custom property of the downloaded stack: ** You have to download the sample stack for each new version. ** Sorry, as soon as the "widgets store" works I'll use that. Installing works here, please try again. Trash the old stack. ** And before going to "Sample Stacks" please clear the revonline cache in the LC preferences. ** +++ Just uploaded a new version 1.2.0, that removes a bug that crashed LC when resizing the widget in pointer mode. This now does nothing with the images, the widget simply clips to its new size. (Thanks Bernd for the report). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
Hermann: I’m trying to install your turnImage sample stack. When I click on the “Install the turnImage widget for LC 8+9” button, I get an error message: “extension missing from “…/community.livecode.hermann.turnimage.1.0.0” So, I can’t install the widget. I’m on MacOS, 10.14.2, LC 9.0.2. I downloaded the sample stack, nothing else. Is there something else to download? Am I doing something wrong? Best, Bill > On Feb 6, 2019, at 10:04 AM, hh via use-livecode > wrote: > >> Rick H. wrote: >> A YouTube type video showing the effects, and some instructional >> examples of how to use the widget would be helpful. > > The SAMPLE STACK (which works after installing the widget and then > restarting LiveCode) has a few lines of help and > ++ one ordinary widget (the Tiger) for use with it's context menu > ++ two examples for using your own images with the widget > ++ one example for using two LC-groups (here fields and buttons) > as front and back of the widget (50 lines of script) > ++ one advanced example for using the widget by grabbing frames from > a browser video (not from a LC-player which is essentially blocking). > > More than half of the code is written for the dictionary (and this > needs a lot of time). > > As soon as you have installed the widget from the sample stack you find > DICTIONARY ENTRIES here: > > (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn > Find the overview by Dictionary > API > Search: hhturn > The same for my other fat widgets: > boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, > hhprogress, hhgrid, hhimage and hhsvgt. > > (b) tinyDictionary > LiveCode Builder > hermann.turnimage > The same for my other widgets hermann.X > Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn > or the names hh from (a). > > The recommended way to look at one of my widgets is: > > 1. Install the widget from the sample stack, then restart LiveCode. > > 2. Make a new stack, create a widget (dragging works not always, but from > menu Object> New Widget). > Then open the property inspector and the overview from tinydict or Dict. > No go through all tabs of the inspector and test the properties "live". > (Find some properties on unusual tabs of the PI, this is because there > are not enough appropriate tabs available.) > > 3. Open the sample stack and look at the demos. Some are easy, some need > advanced scripting like other LC controls. > > I have a lot of unfinished projects. I will publish some while waiting > for some progress with LC Builder and HTML5. May be I'll leave LC before > some more items of the very long lists of promises of the last years will > happily be realised. > But before leaving I'll make some simpler example stacks: "Quick starter". > I don't like teaching videos, sorry, not for giving and not for taking. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
The widget has a huge background or transparency, needed for the turns and rotation. So I added a "clickedInTransparency" message that you can use, see tab "Custom" of the property inspector for an example script. Deinstall the old version and download version 1.1.0 from the sample stack, still available from "Sample Stacks" or http://livecodeshare.runrev.com/stack/929/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
I tested now more intensive the widget with LC 9.0.2 on Win 7-10 and linux (Xubuntu 1604). It works as it should but I changed the (only partially working) sample stack: I had to rewrite the video grabbing loop so that the browser widget has no problems on windows and linux. Especially on Xubuntu1604 it works here now also OK with the video. (New feature) Additionally I also changed the video loop such that you can turn also around diagonal axes, change turnH or turnV while the image is rotating for that. There is a new button "Reset" for returning to the ordinary rotation axes. Note. The widget is not changed, only the sample stack. So if you already have installed the widget just download the new sample stack (which of course has still the installer button) and you are ready to try. Download the changed stack from "Sample Stacks" or http://livecodeshare.runrev.com/stack/929/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
I don’t think that leak is browser widget specific. I was able to reproduce the effect of increasing memory usage with the tree view widget, but much more slowly. Thanks, Brian On Feb 6, 2019, 9:22 PM -0500, hh via use-livecode , wrote: > > BR wrote: > > Now, if I could only figure out how to use a series of images > > instead of just two? > > You can set new images at any time, even during rotation. Setting > an image needs at about 10 millisecs (the widget has to adjust its > size). See the help at topright of the sample stack. > The video grabbing is not optimized. I could better grab the frame > by JavaScript from the browser widget. > > But I used a snapshot from the rectangle of the widget because > = the browser widget is still memory leaking when using JS > = the snapshot is a better example for people who don't know JS. > Disadvantage: On some hardware a bit "jerkiness". > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
> BR wrote: > Now, if I could only figure out how to use a series of images > instead of just two? You can set new images at any time, even during rotation. Setting an image needs at about 10 millisecs (the widget has to adjust its size). See the help at topright of the sample stack. The video grabbing is not optimized. I could better grab the frame by JavaScript from the browser widget. But I used a snapshot from the rectangle of the widget because = the browser widget is still memory leaking when using JS = the snapshot is a better example for people who don't know JS. Disadvantage: On some hardware a bit "jerkiness". ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
Fantastic Herman! Thanks for the contributions. Now, if I could only figure out how to use a series of images instead of just two? I am digging through the scripts to see what I can find. But it is good to know that LCB can do "smooth" transitions/animation (well, the video was a bit jerky but the circles are smooth). This is what we need for LC 10 (or whatever) to keep up with motion graphics for 2020 mobile apps https://www.invisionapp.com/inside-design/ui-animation-principles/ https://www.invisionapp.com/inside-design/motion-design-in-2020-predictions/ BR On 2/6/19, 8:05 AM, "use-livecode on behalf of hh via use-livecode" wrote: The SAMPLE STACK (which works after installing the widget and then restarting LiveCode) has a few lines of help and ++ one ordinary widget (the Tiger) for use with it's context menu ++ two examples for using your own images with the widget ++ one example for using two LC-groups (here fields and buttons) as front and back of the widget (50 lines of script) ++ one advanced example for using the widget by grabbing frames from a browser video (not from a LC-player which is essentially blocking). More than half of the code is written for the dictionary (and this needs a lot of time). As soon as you have installed the widget from the sample stack you find DICTIONARY ENTRIES here: (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn Find the overview by Dictionary > API > Search: hhturn The same for my other fat widgets: boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, hhprogress, hhgrid, hhimage and hhsvgt. (b) tinyDictionary > LiveCode Builder > hermann.turnimage The same for my other widgets hermann.X Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn or the names hh from (a). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
Hermann, Your contributions are really awesome! Thank you very much for your cutting edge work. Best, Bill William Prothero http://es.earthednet.org On Feb 6, 2019, at 10:04 AM, hh via use-livecode wrote: >> Rick H. wrote: >> A YouTube type video showing the effects, and some instructional >> examples of how to use the widget would be helpful. > > The SAMPLE STACK (which works after installing the widget and then > restarting LiveCode) has a few lines of help and > ++ one ordinary widget (the Tiger) for use with it's context menu > ++ two examples for using your own images with the widget > ++ one example for using two LC-groups (here fields and buttons) > as front and back of the widget (50 lines of script) > ++ one advanced example for using the widget by grabbing frames from > a browser video (not from a LC-player which is essentially blocking). > > More than half of the code is written for the dictionary (and this > needs a lot of time). > > As soon as you have installed the widget from the sample stack you find > DICTIONARY ENTRIES here: > > (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn > Find the overview by Dictionary > API > Search: hhturn > The same for my other fat widgets: > boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, > hhprogress, hhgrid, hhimage and hhsvgt. > > (b) tinyDictionary > LiveCode Builder > hermann.turnimage > The same for my other widgets hermann.X > Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn > or the names hh from (a). > > The recommended way to look at one of my widgets is: > > 1. Install the widget from the sample stack, then restart LiveCode. > > 2. Make a new stack, create a widget (dragging works not always, but from > menu Object> New Widget). > Then open the property inspector and the overview from tinydict or Dict. > No go through all tabs of the inspector and test the properties "live". > (Find some properties on unusual tabs of the PI, this is because there > are not enough appropriate tabs available.) > > 3. Open the sample stack and look at the demos. Some are easy, some need > advanced scripting like other LC controls. > > I have a lot of unfinished projects. I will publish some while waiting > for some progress with LC Builder and HTML5. May be I'll leave LC before > some more items of the very long lists of promises of the last years will > happily be realised. > But before leaving I'll make some simpler example stacks: "Quick starter". > I don't like teaching videos, sorry, not for giving and not for taking. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
> Rick H. wrote: > A YouTube type video showing the effects, and some instructional > examples of how to use the widget would be helpful. The SAMPLE STACK (which works after installing the widget and then restarting LiveCode) has a few lines of help and ++ one ordinary widget (the Tiger) for use with it's context menu ++ two examples for using your own images with the widget ++ one example for using two LC-groups (here fields and buttons) as front and back of the widget (50 lines of script) ++ one advanced example for using the widget by grabbing frames from a browser video (not from a LC-player which is essentially blocking). More than half of the code is written for the dictionary (and this needs a lot of time). As soon as you have installed the widget from the sample stack you find DICTIONARY ENTRIES here: (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn Find the overview by Dictionary > API > Search: hhturn The same for my other fat widgets: boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, hhprogress, hhgrid, hhimage and hhsvgt. (b) tinyDictionary > LiveCode Builder > hermann.turnimage The same for my other widgets hermann.X Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn or the names hh from (a). The recommended way to look at one of my widgets is: 1. Install the widget from the sample stack, then restart LiveCode. 2. Make a new stack, create a widget (dragging works not always, but from menu Object> New Widget). Then open the property inspector and the overview from tinydict or Dict. No go through all tabs of the inspector and test the properties "live". (Find some properties on unusual tabs of the PI, this is because there are not enough appropriate tabs available.) 3. Open the sample stack and look at the demos. Some are easy, some need advanced scripting like other LC controls. I have a lot of unfinished projects. I will publish some while waiting for some progress with LC Builder and HTML5. May be I'll leave LC before some more items of the very long lists of promises of the last years will happily be realised. But before leaving I'll make some simpler example stacks: "Quick starter". I don't like teaching videos, sorry, not for giving and not for taking. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
Hi hh, A YouTube type video showing the effects, and some instructional examples of how to use the widget would be helpful. Thanks, Rick > On Feb 6, 2019, at 12:35 AM, hh via use-livecode > wrote: > > TurnImage is a pure LiveCode Builder widget, there is no essential > script access and no use of JavaScript. > > The widgets lets you > = turn an image horizontally or vertically with a 2D-perspective view, > = switch from an image to a second image while turning or rotating. > > Thus it is essentially an animation tool for displaying LC objects. > For example two groups of same size that make up the front and back of > a turning "card". Just try the demo in the sample stack. > > The widget is fast enough to "turn" a video by grabbing frames from it. > For this we need to use a browser widget to play the video (just play, > nothing else) because the LC player object is essentially blocking. > > TurnImage is a "fat" widget that works with LC 8 and LC 9 identically > and also in all LC editions, from community up to business. > > This sample stack includes buttons to install (or remove) the widget > to/from both LC 8 and 9. > And it containes several examples for scripting the widget's properties. > > Download it from "Sample Stacks" or > http://livecodeshare.runrev.com/stack/929/ > > The widget is free for non-commercial use. For commercial use please > give a (small) fee to the LC developer help fund. > > The source code (lcb-file) is not included. > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget TurnImage89_v100
Hermann, that is simply awesome! — Scott Morrow > On Feb 5, 2019, at 9:35 PM, hh via use-livecode > wrote: > > TurnImage is a pure LiveCode Builder widget, there is no essential > script access and no use of JavaScript. > > The widgets lets you > = turn an image horizontally or vertically with a 2D-perspective view, > = switch from an image to a second image while turning or rotating. > > Thus it is essentially an animation tool for displaying LC objects. > For example two groups of same size that make up the front and back of > a turning "card". Just try the demo in the sample stack. > > The widget is fast enough to "turn" a video by grabbing frames from it. > For this we need to use a browser widget to play the video (just play, > nothing else) because the LC player object is essentially blocking. > > TurnImage is a "fat" widget that works with LC 8 and LC 9 identically > and also in all LC editions, from community up to business. > > This sample stack includes buttons to install (or remove) the widget > to/from both LC 8 and 9. > And it containes several examples for scripting the widget's properties. > > Download it from "Sample Stacks" or > http://livecodeshare.runrev.com/stack/929/ > > The widget is free for non-commercial use. For commercial use please > give a (small) fee to the LC developer help fund. > > The source code (lcb-file) is not included. > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Widget TurnImage89_v100
Hi Hermann, > TurnImage is a pure LiveCode Builder widget, > there is no essential script access and > no use of JavaScript. This a wonderful example of your developer prowess and LCB power. :-) The rotating movie is a real surprise. Brings me memories from the Commodore Amiga days. Congratulations and thanks a lot for publishing this widget for all Livecode editions! Al ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Widget TurnImage89_v100
TurnImage is a pure LiveCode Builder widget, there is no essential script access and no use of JavaScript. The widgets lets you = turn an image horizontally or vertically with a 2D-perspective view, = switch from an image to a second image while turning or rotating. Thus it is essentially an animation tool for displaying LC objects. For example two groups of same size that make up the front and back of a turning "card". Just try the demo in the sample stack. The widget is fast enough to "turn" a video by grabbing frames from it. For this we need to use a browser widget to play the video (just play, nothing else) because the LC player object is essentially blocking. TurnImage is a "fat" widget that works with LC 8 and LC 9 identically and also in all LC editions, from community up to business. This sample stack includes buttons to install (or remove) the widget to/from both LC 8 and 9. And it containes several examples for scripting the widget's properties. Download it from "Sample Stacks" or http://livecodeshare.runrev.com/stack/929/ The widget is free for non-commercial use. For commercial use please give a (small) fee to the LC developer help fund. The source code (lcb-file) is not included. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode