CODINGLISTINGS ★ Pattern Generator ★

Pattern Generator (Amstrad Action)Coding Listings
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

Phillip Tate, who lives in South Shields, has been working on an interesting graphic demo that draws patterns with the equation X^2 + Y^2=constant: that is, the position of points on the radius of a circle. Sounds boring? Try typing it - a complex pattern reminiscent of a peacock's fan is generated.

Program notes

Lines 40-130 set up the screen. The user can read Instructions (lines 210-310), and the program proper runs from 380-760. Lines of major note are 400 (asks for a seed number to use for the pattern), 630-640 (set the drawing area) and 650-680 (performs the plotting). Line 710 saves the picture.

AA

★ PUBLISHER: Amstrad Action
★ YEAR: 1988
★ AUTHOR: Philip Tate
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Pattern  Generator    (Amstrad  Action)    LISTING    ENGLISHDATE: 2018-08-03
DL: 204
TYPE: text
SiZE: 4Ko
NOTE: Uploaded by CPCLOV ;

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Coding Src's » Screen Scroller (Popular Computing Weekly)
» Coding Src's » Highlighter (Computing With the Amstrad)
» Coding Src's » Dump anything off the screen (Computing With the Amstrad)
» Coding Src's » Hot City Lights (Amstrad Computer User)
» Coding Src's » Intro Musicale
» Coding Src's » Graphic - 3D Sine Wave on Amstrad (Popular Computing Weekly)
Je participe au site:
» Vous avez des infos personnel, des fichiers que nous ne possédons pas concernent ce programme ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop/c
Page créée en 698 millisecondes et consultée 1399 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.