Messing with Morphing
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
Messing with Morphing
Hi Folks,
I tried to write a New Year program with 2023 morphing into 2024, but did not have enough time.
Since, I doodled around and messed about with the idea that this year QL is 40, and completed the demo routine.
The principal is to define characters using 12 numbered summits, and then swap the sides progressively.
The hard part was getting the sides to move without using trigonometry, just coordinates, using little array sapce.
This version is a demo to illustrate the principle. It uses pauses to make the output slow enough to see. Tested: QPC2 and SGC.
I tried to write a New Year program with 2023 morphing into 2024, but did not have enough time.
Since, I doodled around and messed about with the idea that this year QL is 40, and completed the demo routine.
The principal is to define characters using 12 numbered summits, and then swap the sides progressively.
The hard part was getting the sides to move without using trigonometry, just coordinates, using little array sapce.
This version is a demo to illustrate the principle. It uses pauses to make the output slow enough to see. Tested: QPC2 and SGC.
-
- Font of All Knowledge
- Posts: 4654
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Messing with Morphing
HI Steve,
Nice program.
You need to change the variable QX in line 850, this conflicts with the Qliberator QX command.
Nice program.
You need to change the variable QX in line 850, this conflicts with the Qliberator QX command.
Regards,
Derek
Derek
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
Re: Messing with Morphing
Hi Folks,
Just tweaked the program to animate the morphing process better. No need for a new version yet, as development is underway.
But I did have to add a couple of extra arrays, to enable a 'playback', after the initial calculation run: Q to 3 and Q to 4. Regards, Steve.
Just tweaked the program to animate the morphing process better. No need for a new version yet, as development is underway.
But I did have to add a couple of extra arrays, to enable a 'playback', after the initial calculation run: Q to 3 and Q to 4. Regards, Steve.
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
Re: Messing with Morphing
Hi All,
Just a couple of changes to a For loop, and now the morphing gets animated as you would expect.
Each character now deforms progressively into the other ! (I had to construct this code step by step, to avoid memory usage).
Still needs some more thought though, before releasing the version. Here are a couple of samples : Q-L , Q-S, L-4 , Regards Steve.
Just a couple of changes to a For loop, and now the morphing gets animated as you would expect.
Each character now deforms progressively into the other ! (I had to construct this code step by step, to avoid memory usage).
Still needs some more thought though, before releasing the version. Here are a couple of samples : Q-L , Q-S, L-4 , Regards Steve.
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
Re: Messing with Morphing
Hi everybody,
Here is the latest version of the animated Morphing prototype. (Just starting to develop it for animating moving objects too).
Where will it go from here ? Steve.
Here is the latest version of the animated Morphing prototype. (Just starting to develop it for animating moving objects too).
Where will it go from here ? Steve.
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
Re: Messing with Morphing
Hi again,
One problem I am finding is that 12 peripheral summits are not enough. So I will rewrite the arrays to cater for more detailed objects.
16 intermediate forms are adequate, 32 are rather slow. FILLing is non-re-entrant, so I will not use it, to allow simple articulations.
The screen shots show how to animate movements between two objects. This divides data entries by 16...! (Compression ?). Steve.
The next version won't be ready just yet... as I will have to seize many DATA lists to get a demo restarted !
One problem I am finding is that 12 peripheral summits are not enough. So I will rewrite the arrays to cater for more detailed objects.
16 intermediate forms are adequate, 32 are rather slow. FILLing is non-re-entrant, so I will not use it, to allow simple articulations.
The screen shots show how to animate movements between two objects. This divides data entries by 16...! (Compression ?). Steve.
The next version won't be ready just yet... as I will have to seize many DATA lists to get a demo restarted !
-
- QL Wafer Drive
- Posts: 1064
- Joined: Sat Oct 25, 2014 9:53 am
Re: Messing with Morphing
Hi Steve!
Once again, I'm so impressed to see you develop these comp science ideas on our beloved platform...
Just didn't want you to think that no one is reading your posts with very keen interest!
Once again, I'm so impressed to see you develop these comp science ideas on our beloved platform...
Just didn't want you to think that no one is reading your posts with very keen interest!
Re: Messing with Morphing
Yup. Heres another reader 

Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
-
- Aurora
- Posts: 888
- Joined: Mon Nov 24, 2014 2:03 pm
Re: Messing with Morphing
Hi Guys, Thanks for you encouraging comments !
Well 30 peripheral points is still not enough to produce a recognizable Sir Clive portrait... as you can see.
But it does allow for more flexible sketches. here are the results of entering data for 3 morphs :
I will get my head around animations next. New version soon. Regards, Steve.
Well 30 peripheral points is still not enough to produce a recognizable Sir Clive portrait... as you can see.
But it does allow for more flexible sketches. here are the results of entering data for 3 morphs :
I will get my head around animations next. New version soon. Regards, Steve.