Visual Effects

All flavors welcome.
Forum rules
Be kind.
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Visual Effect

Post by richmond62 »

Somethiing WRONG with the Dictionary re Visual Effect:
-
SShot 2024-12-20 at 13.55.29.png
SShot 2024-12-20 at 13.55.29.png (205.61 KiB) Viewed 3338 times
-
On the inherited legacy LC 963 the visual effects are listed:
-
SShot 2024-12-20 at 13.56.10.png
SShot 2024-12-20 at 13.56.10.png (206.11 KiB) Viewed 3338 times
https://richmondmathewson.owlstown.net/
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Visual Effect

Post by OpenXTalkPaul »

richmond62 wrote: Fri Dec 20, 2024 11:57 am Somethiing WRONG with the Dictionary re Visual Effect:
-
SShot 2024-12-20 at 13.55.29.png
-
On the inherited legacy LC 963 the visual effects are listed:
-
SShot 2024-12-20 at 13.56.10.png
If anyone is going to update the dictionary entry for the missing parameters info, you should TEST the visual effects on various platforms, because I know that some of these effects no longer work on certain platforms.

Any of the visual effects that used Apple's now defunct Quicktime are going to be broken (although some of CoreImage filter effects still work independently of Quicktime on Apple platforms). There's CoreImage transitions demo stack included in the IDE and at least 'PageCurl' transition still worked last time I checked. Obviously anything that relied on Quicktime never worked on Linux since Apple never produced a 'Quicktime for Linux'.

I don't think transitions work correctly or at all on the Emscripten engine. I never really tested them on the two mobile platforms.

There's only really a few which do their transitioning using the engines rendering that seem to work consistently across platforms.... wipe-left/right/up/down and 'dissolve' seems to be reliable.
User avatar
tperry2x
Posts: 3210
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Visual Effect

Post by tperry2x »

This is what currently works on MacOS 10.15 (Catalina).
Off to test in Linux (I expect lots less will work).
Screenshot 2024-12-22 at 21.11.47.png
Screenshot 2024-12-22 at 21.11.47.png (114.95 KiB) Viewed 3112 times
Attachments
Visual Effects.oxtstack
(10.34 KiB) Downloaded 45 times
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effect

Post by richmond62 »

I know that the curls have gone, otherwise I would not have spent 2 days farting around working my own tarot card flipping routine.

The slides are intact (but perhaps I should ask Phil Schiller or Craig Hairstyle for how long).

This does rather confirm my view that home-baked bread is best. 8-)
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3210
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Visual Effect

Post by tperry2x »

Well, that's a surprise. The same things (not using quicktime effects) work on Linux. Don't know why I suspected things not to work (probably me just being pessimistic).
lin-effects.png
lin-effects.png (37.59 KiB) Viewed 3109 times
Made me think you could do your card animation using one of these.
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Try HyperCard in a Web based Emulator for classic macOS

Post by richmond62 »

SShot 2025-01-10 at 15.03.06.png
SShot 2025-01-10 at 15.03.06.png (53.01 KiB) Viewed 3000 times
-
Attachments
VizEffects.oxtstack
(2.83 KiB) Downloaded 32 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Try HyperCard in a Web based Emulator for classic macOS

Post by richmond62 »

Visual Effects

I wonder why 'Barn Door' is NOT mentioned in the Dictionary?
-
Screenshot 2025-01-11 at 14.10.59.png
Screenshot 2025-01-11 at 14.10.59.png (58.65 KiB) Viewed 2872 times
-
Actually, come to think of things 'Visual Effect' the OXT Lite dictionary is not much good at all, as it does NOT even list the visual effects
listed in the LC 963 Dictionary.

OK. OK: let's clarify that:

While this document inside the IDE: /Documentation/html_viewer/resources/data/api/exports/xtalk/resaved/visual effect command.txt DOES
list the visual effects listed in the LC 963 Dictionary that does NOT show up in the OXT Lite 1.10 Dictionary (which probably means 2 things:

1. The OXT Lite Dictionary is NOT reading the documents in /Documentation/html_viewer/resources/data/api/exports/xtalk/resaved

2. All my edits to the Dictionary were a complete WASTE OF EFFORT as the OXT Lite Dictionary is NOT reading them. )
-
Screenshot 2025-01-11 at 14.25.51.jpg
Screenshot 2025-01-11 at 14.25.51.jpg (275.59 KiB) Viewed 2870 times
-
Point #1 is merely annoying.

Point #2 really gets my goat as I spent hours editing those things!
Attachments
COW BYRE.oxtstack
(510 Bytes) Downloaded 33 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Try HyperCard in a Web based Emulator for classic macOS

Post by richmond62 »

I have edited the relevant file:
-
Screenshot 2025-01-11 at 14.32.48.png
Screenshot 2025-01-11 at 14.32.48.png (279.75 KiB) Viewed 2868 times
-
So it would "be jolly nice" if something could be done so that it and ALL the other files I edited could show up in the OXT Lite Dictionary.

edit [tperry2x]: I moved a few things and continue the fix for this issue here.
Attachments
visual effect command.txt.zip
(2.92 KiB) Downloaded 29 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Visual Effects

Post by richmond62 »

I have moved this discussion over here as it is getting away slightly from the HyperCard emulator-thing.

ANYWAY: I have just been fooling around with HyperStudio 4.5 (i.e. just before HyperStudio went codeless) on MacOS 9.2.2 and found that HS offered a whole slew of 'Transitions':
-
Picture 1.jpg
Picture 1.jpg (37.7 KiB) Viewed 2742 times
-
Picture 2.jpg
Picture 2.jpg (38.72 KiB) Viewed 2741 times
-
Picture 3.jpg
Picture 3.jpg (34.8 KiB) Viewed 2741 times
-

AND I wonder:

1. How many of these were leveraging capabilities in the Operating System?

2. How many of them were 'home grown' (i.e. whether it was HS that was doing the work)?

3. How many of these that are NOT in the HyperCard list are 'nickable' for OXT?

This was a real pox as, for some reason my G3 iMac now running MacOS 9.2.2 will NOT connect to the internet (via a LAN cable), and running back and forth between the Intel iMac running MacOS 12 and the G3 with a flash drive got a bit @#$% at one stage.

BUT I could NOT find any documentation, anywhere, re 'Transitions' in HyperStudio . . .
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

Digging out my Danny Goodman . . . cripes 1144 pages.

HC Visual Effects NOT mentioned in the LC 963 Dictionary:

barn door open
barn door close

BUT these are possible: so just another 'inaccuracy' in the LC Dictionary.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

Visual Effects provided in HyperStudio that are neither in HC or LC/OXT:

Bars
Rain
Mouth open
Mouth close
Razor left
Razor right
Bow ties
Diamond dissolve
Fade to Button color
Cross fade
Explode
Gradient wipe
Implode
Matrix wipe


How many of these are similar effects to those offered to those in HC but with other names, I am just not sure.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

I have been playing around with the button 'transitions' in HyperStudio . . .

Unfortunately I can work out no way to catch them 'in midstream' on MacOS 9.2.2

But some of them are really lovely (especially like 'Rain').
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

Blast from the past:

https://forums.livecode.com/viewtopic.php?t=15451
'visual effects on objects' isn't that well defined...
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

Oooooo:

https://livecode.byu.edu/scripts/Scripts.php
visual effect dissolve
visual iris close to black
visual effect scroll right
visual effect scroll left
visual effect wipe up
visual effect wipe down
visual effect checkerboard
visual effect venetian blinds
visual effect dissolve to white
visual effect reveal up to inverse
emphasis is mine.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3210
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Visual Effects

Post by tperry2x »

Added these to the stack to test.
I found a couple more (just by guessing that it should work)...
vis-fx-2.png
vis-fx-2.png (50.55 KiB) Viewed 2713 times
Also discovered that "stretch to right" or "stretch to left" = spontaneous engine crash.
Same for "shrink to right" or "shrink to left" :?
Visual Effects v2.oxtstack
(16.2 KiB) Downloaded 33 times
edit 2: Also just discovered that "Shrink to center" works too. ;) (unfortunately only vertically it seems)
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

Also just discovered that "Shrink to center" works too. ;) (unfortunately only vertically it seems)
Personally I have reached an age and a weight where I can just about manage a vertical shrink to centre, but a horizontal one: FAT chance (pun intended)!
-
OB.png
OB.png (98.93 KiB) Viewed 2700 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

MacOS 12.
-
Screenshot 2025-01-12 at 20.31.27.png
Screenshot 2025-01-12 at 20.31.27.png (124.96 KiB) Viewed 2697 times
-
NONE of those cause a crash in LC 963.

NOR with OXT Lite 110.

BUT they don't do "what is advertised".

All those lefts and rights end up being vertical. :o
Attachments
WONKY EFFECTS.oxtstack
(1.88 KiB) Downloaded 34 times
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3210
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Visual Effects

Post by tperry2x »

richmond62 wrote: Sun Jan 12, 2025 6:33 pm NONE of those cause a crash in LC 963.
NOR with OXT Lite 110.
Perhaps not on MacOS, but they crash the engine on Linux.
On Windows, they do nothing - as if you'd just not used a visual effect.
On MacOS, as you say:
richmond62 wrote: Sun Jan 12, 2025 6:33 pm BUT they don't do "what is advertised.
All those lefts and rights end up being vertical.
I'd expect the correct behaviour to be the Windows one, as:
2025-01-12-18-48-41.png
2025-01-12-18-48-41.png (66 KiB) Viewed 2690 times
Top, Centre, and Bottom are mentioned. If I pass "right" as a direction from xTalk - you'd expect the effect to show nothing (no transition) - so don't know why MacOS assumes the transition is "TOP". Definitely better than spontaneously quitting, but all three platforms handle an invalid effect differently. (but they don't all handle an invalid effect consistently - even on the same platform). What I mean by that is if I use "dissolve to right" - then I just get a dissolve effect because no direction is specified on that function - but no spontaneous quitting either.

Now, in theory I could edit "stacke.cpp" and add in horizontal transitions, or even new effects called "visual effect squash to center" - which would help with your card flipping I was thinking, however - that would only be any good on Windows and Linux currently as compiling for Mac is on hold.
FourthWorld
Posts: 442
Joined: Sat Sep 11, 2021 4:37 pm
Contact:

Re: Visual Effects

Post by FourthWorld »

For inspiration if there's an interest in more transitions:
https://gradienty.codes/animations
User avatar
richmond62
Posts: 4833
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Visual Effects

Post by richmond62 »

I dunno what programming language that:
I'd expect the correct behaviour to be the Windows one, as:
is written in, but it doth not speak to me at all.
https://richmondmathewson.owlstown.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests