SlideShare une entreprise Scribd logo
BASIC-256 Graphics
After viewing this presentation, you will be able to produce a rectangle, circle, and triangle in the graphics output of the BASIC-256 screen.
 
 
0  1  2  3  4  5  6  7  8  9  10
0 1 2 3 4 5 6 7 8 9 10
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 3,2
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 5,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 ?
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 8,2
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 ?
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 6,8
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 ?
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 8,4
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line 1,1,5,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line 5,6,9,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 9,6 line 5,6,9,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line _______ ? 9,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line 9,6,7,2 7,2 9,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 over 4 (width)
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 down 5 (height)
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 1,1 rect 1,1,4,5 over 4 (width) down 5 (height)
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 rect ______
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 2,3 rect 2,3,6,4 over 6 (width) down 4 (height)
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 5,6
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 5,6 center to the edge 2 (radius)
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 ? circle _____
0  1  2  3  4  5  6  7  8  9  10 0 1 2 3 4 5 6 7 8 9 10 6,4 circle 6,4,3

Contenu connexe

Tendances

Taller d excel 1°
Taller d excel 1°Taller d excel 1°
Taller d excel 1°
Dominit
 
Beschreibung Simpsons
Beschreibung SimpsonsBeschreibung Simpsons
Beschreibung SimpsonsPGCEMaster
 
Splitsen 5 tot 9
Splitsen 5 tot 9Splitsen 5 tot 9
Splitsen 5 tot 9
Desterrenklas
 
Tna - MATEMÁTICA
Tna - MATEMÁTICATna - MATEMÁTICA
Tna - MATEMÁTICA
Psicologia_2015
 
2010 sri chaitanyas_aieee_key
2010 sri chaitanyas_aieee_key2010 sri chaitanyas_aieee_key
2010 sri chaitanyas_aieee_key
Sri Chaitanya Junior College
 
FUNCION MINIMO
FUNCION MINIMOFUNCION MINIMO
таблица разрядов
таблица разрядовтаблица разрядов
таблица разрядов
Ирина Юрьевна Вавилова
 
Οι αριθμοί μέχρι το 3.000
Οι αριθμοί μέχρι το 3.000Οι αριθμοί μέχρι το 3.000
Οι αριθμοί μέχρι το 3.000
Roula Mple
 
Touches
TouchesTouches
Touches
raphaelsmr
 
Cálculo 2º a 8º básico sumas y restas (9)
Cálculo 2º a 8º básico sumas y restas (9)Cálculo 2º a 8º básico sumas y restas (9)
Cálculo 2º a 8º básico sumas y restas (9)
Marcialepin
 
Suduko
SudukoSuduko
Suduko
deniseglez01
 
Resultado da Atividade 1
Resultado da Atividade 1Resultado da Atividade 1
Resultado da Atividade 1Prof. Materaldo
 
Αριθμογραμμή από το 1 έως το 10
Αριθμογραμμή από το 1 έως το 10Αριθμογραμμή από το 1 έως το 10
Αριθμογραμμή από το 1 έως το 10
Penelope Markellou
 
Arabicqt 201212- الخلوة الشخصية من موقع الحياة لك
Arabicqt 201212- الخلوة الشخصية  من موقع الحياة لك Arabicqt 201212- الخلوة الشخصية  من موقع الحياة لك
Arabicqt 201212- الخلوة الشخصية من موقع الحياة لك
elhayalaka
 
Numeros dedos-dados recta 10 p.
Numeros dedos-dados recta 10 p.Numeros dedos-dados recta 10 p.
Numeros dedos-dados recta 10 p.
Luz Milagro
 
Log log numbered
Log log numberedLog log numbered
Log log numbered
Kimberly Ruiz
 

Tendances (20)

Notas camilo
Notas camiloNotas camilo
Notas camilo
 
Camilo exel
Camilo exelCamilo exel
Camilo exel
 
Taller d excel 1°
Taller d excel 1°Taller d excel 1°
Taller d excel 1°
 
Beschreibung Simpsons
Beschreibung SimpsonsBeschreibung Simpsons
Beschreibung Simpsons
 
Splitsen 5 tot 9
Splitsen 5 tot 9Splitsen 5 tot 9
Splitsen 5 tot 9
 
Tna - MATEMÁTICA
Tna - MATEMÁTICATna - MATEMÁTICA
Tna - MATEMÁTICA
 
2010 sri chaitanyas_aieee_key
2010 sri chaitanyas_aieee_key2010 sri chaitanyas_aieee_key
2010 sri chaitanyas_aieee_key
 
FUNCION MINIMO
FUNCION MINIMOFUNCION MINIMO
FUNCION MINIMO
 
таблица разрядов
таблица разрядовтаблица разрядов
таблица разрядов
 
Οι αριθμοί μέχρι το 3.000
Οι αριθμοί μέχρι το 3.000Οι αριθμοί μέχρι το 3.000
Οι αριθμοί μέχρι το 3.000
 
Touches
TouchesTouches
Touches
 
Cálculo 2º a 8º básico sumas y restas (9)
Cálculo 2º a 8º básico sumas y restas (9)Cálculo 2º a 8º básico sumas y restas (9)
Cálculo 2º a 8º básico sumas y restas (9)
 
Suduko
SudukoSuduko
Suduko
 
Resultado da Atividade 1
Resultado da Atividade 1Resultado da Atividade 1
Resultado da Atividade 1
 
Αριθμογραμμή από το 1 έως το 10
Αριθμογραμμή από το 1 έως το 10Αριθμογραμμή από το 1 έως το 10
Αριθμογραμμή από το 1 έως το 10
 
Arabicqt 201212- الخلوة الشخصية من موقع الحياة لك
Arabicqt 201212- الخلوة الشخصية  من موقع الحياة لك Arabicqt 201212- الخلوة الشخصية  من موقع الحياة لك
Arabicqt 201212- الخلوة الشخصية من موقع الحياة لك
 
Numero 7'
Numero 7'Numero 7'
Numero 7'
 
Numeros dedos-dados recta 10 p.
Numeros dedos-dados recta 10 p.Numeros dedos-dados recta 10 p.
Numeros dedos-dados recta 10 p.
 
Log log numbered
Log log numberedLog log numbered
Log log numbered
 
Experiencia
ExperienciaExperiencia
Experiencia
 

Similaire à Basic Drawing

Relacio Canvis
Relacio CanvisRelacio Canvis
Relacio Canvisscaleman
 
contoh soal Pauli kraepelin
contoh soal Pauli kraepelincontoh soal Pauli kraepelin
contoh soal Pauli kraepelin
Wama Selopangrekso
 
Test Pauli dan Krepelin silahkan baca disini
Test Pauli dan Krepelin silahkan baca disiniTest Pauli dan Krepelin silahkan baca disini
Test Pauli dan Krepelin silahkan baca disini
Yusron Muzaki
 
Colloque lille2017 sequence7a4-ambigaine_robin-amand_fr
Colloque lille2017 sequence7a4-ambigaine_robin-amand_frColloque lille2017 sequence7a4-ambigaine_robin-amand_fr
Colloque lille2017 sequence7a4-ambigaine_robin-amand_fr
Institut de l'Elevage - Idele
 
5
55
Tes koran
Tes koranTes koran
Tes koran
prasetiacandra
 
NOTAS
NOTASNOTAS
NOTAS
vp1razan
 
Colloque lille2017 sequence7a4-ambigaine_robin-amand_en
Colloque lille2017 sequence7a4-ambigaine_robin-amand_enColloque lille2017 sequence7a4-ambigaine_robin-amand_en
Colloque lille2017 sequence7a4-ambigaine_robin-amand_en
Institut de l'Elevage - Idele
 
40 puzzles-numériques-de-1-à-10
40 puzzles-numériques-de-1-à-1040 puzzles-numériques-de-1-à-10
40 puzzles-numériques-de-1-à-10
Maureen Coité
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Tree
GowriKumar Chandramouli
 
Tablatura Flamenco : Alma
Tablatura Flamenco : AlmaTablatura Flamenco : Alma
Tablatura Flamenco : Alma
Juan Luis Menares
 
Notaspublicadasfinales12
Notaspublicadasfinales12Notaspublicadasfinales12
Notaspublicadasfinales12IIe
 
Tabela kc e ks
Tabela kc e ksTabela kc e ks
Tabela kc e ks
Everton Valner de Souza
 

Similaire à Basic Drawing (20)

Relacio Canvis
Relacio CanvisRelacio Canvis
Relacio Canvis
 
R2 resultados
R2  resultadosR2  resultados
R2 resultados
 
R2 resultados
R2   resultadosR2   resultados
R2 resultados
 
R2 resultados
R2   resultadosR2   resultados
R2 resultados
 
contoh soal Pauli kraepelin
contoh soal Pauli kraepelincontoh soal Pauli kraepelin
contoh soal Pauli kraepelin
 
Test Pauli dan Krepelin silahkan baca disini
Test Pauli dan Krepelin silahkan baca disiniTest Pauli dan Krepelin silahkan baca disini
Test Pauli dan Krepelin silahkan baca disini
 
Colloque lille2017 sequence7a4-ambigaine_robin-amand_fr
Colloque lille2017 sequence7a4-ambigaine_robin-amand_frColloque lille2017 sequence7a4-ambigaine_robin-amand_fr
Colloque lille2017 sequence7a4-ambigaine_robin-amand_fr
 
Tabla puntaje nota
Tabla puntaje notaTabla puntaje nota
Tabla puntaje nota
 
5
55
5
 
Tes koran
Tes koranTes koran
Tes koran
 
Notas rec 14-11
Notas rec   14-11Notas rec   14-11
Notas rec 14-11
 
NOTAS
NOTASNOTAS
NOTAS
 
Colloque lille2017 sequence7a4-ambigaine_robin-amand_en
Colloque lille2017 sequence7a4-ambigaine_robin-amand_enColloque lille2017 sequence7a4-ambigaine_robin-amand_en
Colloque lille2017 sequence7a4-ambigaine_robin-amand_en
 
40 puzzles-numériques-de-1-à-10
40 puzzles-numériques-de-1-à-1040 puzzles-numériques-de-1-à-10
40 puzzles-numériques-de-1-à-10
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Tree
 
Planilla de notas (1)
Planilla de notas (1)Planilla de notas (1)
Planilla de notas (1)
 
Harness
HarnessHarness
Harness
 
Tablatura Flamenco : Alma
Tablatura Flamenco : AlmaTablatura Flamenco : Alma
Tablatura Flamenco : Alma
 
Notaspublicadasfinales12
Notaspublicadasfinales12Notaspublicadasfinales12
Notaspublicadasfinales12
 
Tabela kc e ks
Tabela kc e ksTabela kc e ks
Tabela kc e ks
 

Dernier

M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...
M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...
M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...
M2i Formation
 
Edito-B1-francais Manuel to learning.pdf
Edito-B1-francais Manuel to learning.pdfEdito-B1-francais Manuel to learning.pdf
Edito-B1-francais Manuel to learning.pdf
WarlockeTamagafk
 
Système de gestion des fichiers de amine
Système de gestion des fichiers de amineSystème de gestion des fichiers de amine
Système de gestion des fichiers de amine
sewawillis
 
Conseils pour Les Jeunes | Conseils de La Vie| Conseil de La Jeunesse
Conseils pour Les Jeunes | Conseils de La Vie| Conseil de La JeunesseConseils pour Les Jeunes | Conseils de La Vie| Conseil de La Jeunesse
Conseils pour Les Jeunes | Conseils de La Vie| Conseil de La Jeunesse
Oscar Smith
 
Iris van Herpen. pptx
Iris            van        Herpen.     pptxIris            van        Herpen.     pptx
Iris van Herpen. pptx
Txaruka
 
Burkina Faso library newsletter May 2024
Burkina Faso library newsletter May 2024Burkina Faso library newsletter May 2024
Burkina Faso library newsletter May 2024
Friends of African Village Libraries
 
Mémoire de licence en finance comptabilité et audit
Mémoire de licence en finance comptabilité et auditMémoire de licence en finance comptabilité et audit
Mémoire de licence en finance comptabilité et audit
MelDjobo
 
Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...
Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...
Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...
mrelmejri
 
Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...
Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...
Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...
cristionobedi
 
Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"
Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"
Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"
IES Turina/Rodrigo/Itaca/Palomeras
 
SYLLABUS DU COURS MARKETING DTS 1-2.pdf
SYLLABUS DU COURS  MARKETING DTS 1-2.pdfSYLLABUS DU COURS  MARKETING DTS 1-2.pdf
SYLLABUS DU COURS MARKETING DTS 1-2.pdf
Moukagni Evrard
 
Cours de conjugaison des verbes du premier, deuxième et troisième groupe
Cours de conjugaison des verbes du premier, deuxième et troisième groupeCours de conjugaison des verbes du premier, deuxième et troisième groupe
Cours de conjugaison des verbes du premier, deuxième et troisième groupe
Yuma91
 
Iris et les hommes.pptx
Iris      et         les      hommes.pptxIris      et         les      hommes.pptx
Iris et les hommes.pptx
Txaruka
 

Dernier (13)

M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...
M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...
M2i Webinar - « Participation Financière Obligatoire » et CPF : une opportuni...
 
Edito-B1-francais Manuel to learning.pdf
Edito-B1-francais Manuel to learning.pdfEdito-B1-francais Manuel to learning.pdf
Edito-B1-francais Manuel to learning.pdf
 
Système de gestion des fichiers de amine
Système de gestion des fichiers de amineSystème de gestion des fichiers de amine
Système de gestion des fichiers de amine
 
Conseils pour Les Jeunes | Conseils de La Vie| Conseil de La Jeunesse
Conseils pour Les Jeunes | Conseils de La Vie| Conseil de La JeunesseConseils pour Les Jeunes | Conseils de La Vie| Conseil de La Jeunesse
Conseils pour Les Jeunes | Conseils de La Vie| Conseil de La Jeunesse
 
Iris van Herpen. pptx
Iris            van        Herpen.     pptxIris            van        Herpen.     pptx
Iris van Herpen. pptx
 
Burkina Faso library newsletter May 2024
Burkina Faso library newsletter May 2024Burkina Faso library newsletter May 2024
Burkina Faso library newsletter May 2024
 
Mémoire de licence en finance comptabilité et audit
Mémoire de licence en finance comptabilité et auditMémoire de licence en finance comptabilité et audit
Mémoire de licence en finance comptabilité et audit
 
Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...
Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...
Impact des Critères Environnementaux, Sociaux et de Gouvernance (ESG) sur les...
 
Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...
Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...
Formation Intelligence Artificielle pour dirigeants- IT6-DIGITALIX 24_opt OK_...
 
Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"
Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"
Evaluación docentes "Un cielo, dos países: El camino de los descubrimientos"
 
SYLLABUS DU COURS MARKETING DTS 1-2.pdf
SYLLABUS DU COURS  MARKETING DTS 1-2.pdfSYLLABUS DU COURS  MARKETING DTS 1-2.pdf
SYLLABUS DU COURS MARKETING DTS 1-2.pdf
 
Cours de conjugaison des verbes du premier, deuxième et troisième groupe
Cours de conjugaison des verbes du premier, deuxième et troisième groupeCours de conjugaison des verbes du premier, deuxième et troisième groupe
Cours de conjugaison des verbes du premier, deuxième et troisième groupe
 
Iris et les hommes.pptx
Iris      et         les      hommes.pptxIris      et         les      hommes.pptx
Iris et les hommes.pptx
 

Basic Drawing

  • 2. After viewing this presentation, you will be able to produce a rectangle, circle, and triangle in the graphics output of the BASIC-256 screen.
  • 3.  
  • 4.  
  • 5. 0 1 2 3 4 5 6 7 8 9 10
  • 6. 0 1 2 3 4 5 6 7 8 9 10
  • 7. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1
  • 8. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 3,2
  • 9. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 5,6
  • 10. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 ?
  • 11. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 8,2
  • 12. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 ?
  • 13. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 6,8
  • 14. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 ?
  • 15. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 8,4
  • 16. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6
  • 17. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line 1,1,5,6
  • 18. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line 5,6,9,6
  • 19. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 9,6 line 5,6,9,6
  • 20. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line _______ ? 9,6
  • 21. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 5,6 line 9,6,7,2 7,2 9,6
  • 22. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1
  • 23. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1
  • 24. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 over 4 (width)
  • 25. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 down 5 (height)
  • 26. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 1,1 rect 1,1,4,5 over 4 (width) down 5 (height)
  • 27. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 rect ______
  • 28. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 2,3 rect 2,3,6,4 over 6 (width) down 4 (height)
  • 29. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 5,6
  • 30. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 5,6 center to the edge 2 (radius)
  • 31. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 ? circle _____
  • 32. 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 6,4 circle 6,4,3

Notes de l'éditeur

  1. So far you have been looking at adding text output and text input in BASIC-256. Today we will start using the drawing ability of the software.
  2. Any graphics you want to appear in your program must be programmed using commands just like entering the “print” command. In BASIC-256 the graphics are drawn in the area below the Graphics Output section of the program.
  3. It helps to think of the graphics area as a grid where the graphics are drawn. Each line on the grid is one pixel when it is drawn on the screen.
  4. The grid has numbers across the top starting with 0 at the left side.
  5. The grid also has numbers on the left side starting with 0 in the top left corner.
  6. Each point on the grid is made up of two numbers. The first number shows how far from the left the point is drawn. The second number shows how far down the point is drawn. This example would draw the point over one pixel and down one pixel.
  7. This point is drawn over three pixels and down two pixels. This point would be named 3,2.
  8. This point is drawn over five pixels and down six pixels. This point would be named 5,6.
  9. What is the name of this point? If you are stuck, think how many pixels over and how many pixels down.
  10. This point is over eight pixels and down two pixels. The name of this point is 8,2.
  11. What is the name of this point? If you are stuck, think how many pixels over and how many pixels down.
  12. This point is over six pixels and down eight pixels. The name of this point is 6,8.
  13. What is the name of this point?
  14. The point is 8,4. Over eight pixels and down four pixels.
  15. In addition to points, the BASIC-256 program can draw lines on the screen. In order to draw a line you find the name of the point that is where the lines starts and the name of the point where the line ends. In this example the line starts at point 1,1 and ends at point 5,6.
  16. In order for the program the draw a line in the graphics output, the program needs a command. The command to draw a line is the word line followed by four numbers. The first set of numbers are the name of the starting point. The second set of numbers are the name of the ending point. These two sets of numbers are joined together with another comma. To draw this line on the screen you would type the command line one comma one comma five comma six.
  17. Lines can be connected together when they are drawn on the screen. Each line needs its own line command made up of four numbers. Where will this line be drawn on the screen? If you are stuck think about the starting point and the ending point of the line. The first two numbers are the starting point and the second two numbers are the ending point.
  18. This line would start at point 5,6 and end at point 9,6.
  19. What command would be used to draw the new line on the screen?
  20. The command would be line nine comma six comma seven comma two. The line starts at point 9,6 and ends at point 7,2. Both these points are combined with a comma in the line command.
  21. The BASIC-256 program can also use a rectangle command to draw a colored rectangle on the screen. In order to draw a rectangle find the point where the rectangle should start.
  22. The rectangle is drawn from this starting point. Two more numbers are needed to draw the rectangle on the screen.
  23. The next number is how far over the rectangle should be drawn from the starting point. This is the width of the rectangle.
  24. The last number is how far down the rectangle should be drawn from the starting point. This is the height.
  25. The rectangle command is made up of the starting point followed by a comma. The number of pixels over, comma and the number of pixels down.
  26. What command would be used to draw this rectangle on the screen. If you get stuck, think about the starting point, how far over and how far down.
  27. The command would be rect two comma three comma six comma four. The rectangle starts at point 2,3 and is drawn over six pixels and down four pixels.
  28. The last graphics shape in BASIC-256 is the circle. Just like the rectangle the first thing to do is figure out the point where the circle starts.
  29. The only other number needed is how far from the center to draw the circle. Count from the center of the circle to the edge. This number is the radius.
  30. What command would be used to draw this rectangle on the screen. If you get stuck, think about the starting point, and the radius.
  31. The command would be circle six comma four comma three. The circle starts at point 6,4 and is three pixels from the center.