MINIGRAFIK lineart
Moderator: Moderators
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
MINIGRAFIK lineart
Hello to all.........
The included .zip file contains
four graphics programs for Minigrafik
The original listings were taken from Plus / 4
and ZX Spectrum and adapted to me by Minigrafik.
Load and run Minigrafik before
then load and run the program you chose.
at the end of the chart
Press a key to return to the basic
Armando ...................
The included .zip file contains
four graphics programs for Minigrafik
The original listings were taken from Plus / 4
and ZX Spectrum and adapted to me by Minigrafik.
Load and run Minigrafik before
then load and run the program you chose.
at the end of the chart
Press a key to return to the basic
Armando ...................
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MG lineart - Halloween
Hello to all
halloween lantern
for maxi maxigrafik and mini minigrafik
For minigrafik sound and lightning effect.
Drawn and adapted from Super Expander program
Good halloween .............. Armando
halloween lantern
for maxi maxigrafik and mini minigrafik
For minigrafik sound and lightning effect.
Drawn and adapted from Super Expander program
Good halloween .............. Armando
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MG lineart - Castles
Hi.........
collection of five castles
drawn by me with minigrafik
to go to the next one, press a key --------------Armando
collection of five castles
drawn by me with minigrafik
to go to the next one, press a key --------------Armando
Re: Re: MG lineart - Castles
How do I view these?
I loaded them into VIC both expanded RAM and non expanded and after RUN nothing happened.
I loaded them into VIC both expanded RAM and non expanded and after RUN nothing happened.
![Image](http://s1.bcbits.com/img/buttons/bandcamp_22x22_black.png)
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: Re: MG lineart - Castles
First load and run Minigrafik program
secon load and run Castle program
.....................Armando
secon load and run Castle program
.....................Armando
- Mike
- Herr VC
- Posts: 4841
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: Re: MG lineart - Castles
For exactly those scenarios: either a member of the audience possibly doesn't know about MINIGRAFIK at all or does not know what it is supposed to do and how to use it, or a client program is working and the programmer wants to automatise the 'start-up procedure' of MG for a release, I have provided MAKEBOOT with the MG batch suite.
As an example, I have prepended 'castles.prg' with exactly that boot loader, and put the three files: BOOT, MINIGRAFIK and CASTLES in a *.zip-ped *.d64. See the attachment:
castles.zip
The graphics demo needs at least a +16K RAM expansion, and as MINIGRAFIK works with both NTSC and PAL, so does this demo.
Any questions?
As an example, I have prepended 'castles.prg' with exactly that boot loader, and put the three files: BOOT, MINIGRAFIK and CASTLES in a *.zip-ped *.d64. See the attachment:
castles.zip
The graphics demo needs at least a +16K RAM expansion, and as MINIGRAFIK works with both NTSC and PAL, so does this demo.
Any questions?
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MG lineart - Lighthouse
Hello to all
My last design with Minigrafik
Attached d64 files with autoboot.
Question.
you can sketch a diagonal line
for points using only the plot command?
Not with plot To ........ for line draw.
Greeting.....
Thank Mike for help.
.............Armando
My last design with Minigrafik
Attached d64 files with autoboot.
Question.
you can sketch a diagonal line
for points using only the plot command?
Not with plot To ........ for line draw.
Greeting.....
Thank Mike for help.
.............Armando
- Mike
- Herr VC
- Posts: 4841
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: MG lineart - Lighthouse
Hi, Armando.
I merged all your threads with MINIGRAFIK lineart into one thread. The chances are higher to keep up a coherent discussion if you don't open a new thread for each new example. There's an all-compassing topic title, which fits: "MINIGRAFIK lineart".
P.S. Given the Lighthouse demo, I have an idea how you might have wanted to use it - but I want that use case confirmed by you. And in that case, your 'problem' could also be solved by an equation system with two unknown variables.
I merged all your threads with MINIGRAFIK lineart into one thread. The chances are higher to keep up a coherent discussion if you don't open a new thread for each new example. There's an all-compassing topic title, which fits: "MINIGRAFIK lineart".
O.K. - please try for yourself to create a new BOOT file with MAKEBOOT to suit the application name. Just reusing the boot loader from the castles demo (where *I* did the work to show you how it's done properly) obviously didn't have the intended learning effect if you go and "just" rename the client application instead! Saying "It was the easiest thing to do" is no excuse here. MAKEBOOT is able to address any conceivable name for the client application.armypavarmy wrote:Attached d64 files with autoboot.
Of course you can. Just use the algebraic line equation y=m*x+b. Or Bresenham. Of course it will be slower than the built-in line command (which, incidentally, uses the Bresenham algorithm). What would you want to use it for?[...][can you] sketch a diagonal line for points using only the plot command?
P.S. Given the Lighthouse demo, I have an idea how you might have wanted to use it - but I want that use case confirmed by you. And in that case, your 'problem' could also be solved by an equation system with two unknown variables.
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MINIGRAFIK lineart
Mike wrote:
[...][can you] sketch a diagonal line for points using only the plot command?
Of course you can. Just use the algebraic line equation y=m*x+b. Or Bresenham. Of course it will be slower than the built-in line command (which, incidentally, uses the Bresenham algorithm). What would you want to use it for?
Armando wrote:
I want to use for very long diagonal
like those used for the lighthouse.
a diagonal example with formula values
I would be useful to understand the value of
variables m and b..
Diagonal data: X 90 to100 : Y 85 to 190
XX 140 to 150 : YY 85 to 190
Greeting…..Armando
[...][can you] sketch a diagonal line for points using only the plot command?
Of course you can. Just use the algebraic line equation y=m*x+b. Or Bresenham. Of course it will be slower than the built-in line command (which, incidentally, uses the Bresenham algorithm). What would you want to use it for?
Armando wrote:
I want to use for very long diagonal
like those used for the lighthouse.
a diagonal example with formula values
I would be useful to understand the value of
variables m and b..
Diagonal data: X 90 to100 : Y 85 to 190
XX 140 to 150 : YY 85 to 190
Greeting…..Armando
- Mike
- Herr VC
- Posts: 4841
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: MINIGRAFIK lineart
Mike wrote:What would you want to use it for?
The built-in line drawing command obviously can put those on screen perfectly well with @1,90,85TO100,190 and @1,140,85TO150,190. So that's not the real problem you're up to.armypavarmy wrote:I want to use for very long diagonal like those used for the lighthouse. [...]
Diagonal data: X 90 to100 : Y 85 to 190
XX 140 to 150 : YY 85 to 190
See here: Retta nel piano cartesiano. Especially the section "Retta passante per due punti".a diagonal example with formula values
I would be useful to understand the value of
variables m and b..
For lines with a slope |m|>1 you'd actually invert the formula and step over y values with other values of "m" and "b", i.e. x = m' * y + b' ... however, it's of no use to revert to a pixel-wise plot to draw lines - when there's a built-in, faster line routine available - unless you have another compelling reason, which you didn't disclose thus far.
- Mike
- Herr VC
- Posts: 4841
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: MINIGRAFIK lineart
... perhaps you had something like this in mind (download)?
Code: Select all
10 @ON:@CLR:@1,130,50TO70,150:FORT=1TO72:READX,Y:@1,15,25TOX,Y:NEXT
11 GETA$:ON-(A$="")GOTO11:@RETURN:END
12 :
13 DATA 159,25,159,4,100,0,71,0,56,0,47,0,41,0,36,0,33,0,30,0,28,0,26,0,24,0,22,0,20,0
14 DATA 19,0,18,0,16,0,15,0,14,0,12,0,11,0,10,0,8,0,6,0,4,0,2,0,0,0,0,4,0,7,0,11,0,13,0
15 DATA 16,0,18,0,21,0,23,0,25,0,27,0,29,0,32,0,34,0,37,0,39,0,43,0,46,0,50,0,55,0,61,0
16 DATA 68,0,79,0,94,0,118,0,167,6,191,15,191,24,191,33,191,42,191,51,191,61,191,73,191
17 DATA 85,191,74,143,80,133,86,124,91,114,97,104,104,94,110,83,118,71,126,57,159,46
18 :
19 REM ** MG RAYS WRITTEN 2017-11-25 BY MICHAEL KIRCHER
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MINIGRAFIK lineart
Hello
Two fractal designs of name
Ginger and Lorenz.
Custom made by me for ZX Spextrum
the Vic20 and Minigrafik.
Zip file with autoboot.
Armando ...........
Two fractal designs of name
Ginger and Lorenz.
Custom made by me for ZX Spextrum
the Vic20 and Minigrafik.
Zip file with autoboot.
Armando ...........
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MINIGRAFIK lineart
Hello
two drawings of fishing boats
made by me with Minigrafik
Zip file .d64 autoboot
two drawings of fishing boats
made by me with Minigrafik
Zip file .d64 autoboot
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MINIGRAFIK lineart
Hello
Attached .d64 file
GR13 fractal program
done with Minigrafik
Load "boot", 8: run
The first program at the end
charge and execute the second.
Armando
Attached .d64 file
GR13 fractal program
done with Minigrafik
Load "boot", 8: run
The first program at the end
charge and execute the second.
Armando
-
- Vic 20 Hobbyist
- Posts: 107
- Joined: Wed Oct 02, 2013 1:54 am
- Location: Italy
Re: MINIGRAFIK lineart
Corrected file
...... thanks Mike .....
attached new .zip file
working.
Armando
...... thanks Mike .....
attached new .zip file
working.
Armando