Mandalas
Posted: Wed Jul 28, 2021 2:49 pm
I thought it best to move this to a different dumping ground
If you have a HD monitor the poke would go like this:
As you can see, at full screen HD (SCR_XLIM / SCR_YLIM) / (1920 / 1080) = 1. But if the same monitor is used on, say a Q68, the result is 0.75.
But thats your call..
Set a default directory, <dir> in one of the first lines. This is
where the PICs go.
Set the number of saves you want in the next line. Saves are labelled
<dir>mandala0..n_pic. Once n is reached, the oldest mandala is
overwritten.
When the mandala is done, pressing ENTER within the timeout (see top
right corner of display) will cause the image to be saved to <dir>. A
confirming beep should be heard on success (or the program will die
ignominiously if, eg, the disk is full.)
Pressing SPACE before the timeout tells the program to do more, while
ESC terminates the program.
(In fact you can save a mandala at any stage of its development
(except during a fade-out) by pressing <ENTER>.)
The routine that saves the mandala uses the same metrics as the Fade
square, so if you want the saved mandala centred in the square you
need to make sure it is of the right size and in the right position.
That is the point of the Test bit at line 112 (in the current
version):
Set IF 0 THEN to IF 1 THEN to do a test of the relative positioning
(and the roundness of the circle!) Fiddle the variables (aspect, and
SCALE parameters (or do the mentioned POKE!)) until satisfied. Then
re-instate the IF 0 THEN on line 112 to run the program.
Remember: The program must be EXecuted, not RUN:
------------------------
Obviously, PIC sizes are large! Converting them to JPEGs causes the
images to look washed out and compression isnt that great either.
Better use some non-lossy compression. You can use my QuickView (QV)
to view the images and then re-save them as PAC files. This reduces
the size to around 20% without loss of vibrancy. But they can only be
viewed in our little world.
The code is in a real mess now, so it could do with a thorough clean-
up, but I thought it might be considered presumptuous of me to just
hijack your program..
I think youd be better off to do the poke I mentioned. Then you could also try different display sizes without having to correct the 'aspect' variable etc.stevepoole wrote:<>
The settings I needed to get the correct alpha-blend transitions : SCALE 400, -100, 0 (instead of 400, -150, 0 ).
With aspect=.86 for normal circles, (QPC2 initialised at 512*256, full screen).
If you have a HD monitor the poke would go like this:
Code: Select all
POKE_F! $C4! $14A, (SCR_XLIM / SCR_YLIM) / (1920 / 1080)
But thats your call..
If youre talking about the manadalas, I agree. So nice in fact that I thought itd be nice to save one or two. It was raining this morning, so I messed around some more and came up with the attached update! (See end of post) Instructions:<> 'Tis a real beauty...
Set a default directory, <dir> in one of the first lines. This is
where the PICs go.
Set the number of saves you want in the next line. Saves are labelled
<dir>mandala0..n_pic. Once n is reached, the oldest mandala is
overwritten.
When the mandala is done, pressing ENTER within the timeout (see top
right corner of display) will cause the image to be saved to <dir>. A
confirming beep should be heard on success (or the program will die
ignominiously if, eg, the disk is full.)
Pressing SPACE before the timeout tells the program to do more, while
ESC terminates the program.
(In fact you can save a mandala at any stage of its development
(except during a fade-out) by pressing <ENTER>.)
The routine that saves the mandala uses the same metrics as the Fade
square, so if you want the saved mandala centred in the square you
need to make sure it is of the right size and in the right position.
That is the point of the Test bit at line 112 (in the current
version):
Set IF 0 THEN to IF 1 THEN to do a test of the relative positioning
(and the roundness of the circle!) Fiddle the variables (aspect, and
SCALE parameters (or do the mentioned POKE!)) until satisfied. Then
re-instate the IF 0 THEN on line 112 to run the program.
Remember: The program must be EXecuted, not RUN:
Code: Select all
EX <prog dir>mandala24s
Obviously, PIC sizes are large! Converting them to JPEGs causes the
images to look washed out and compression isnt that great either.
Better use some non-lossy compression. You can use my QuickView (QV)
to view the images and then re-save them as PAC files. This reduces
the size to around 20% without loss of vibrancy. But they can only be
viewed in our little world.
The code is in a real mess now, so it could do with a thorough clean-
up, but I thought it might be considered presumptuous of me to just
hijack your program..
Yea to that! (whoever he is)--- Thanks again to TMD for the spirograph ! ---