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
★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
|
CPCrulez[Content Management System] v8.732-desktop/c Page créée en 632 millisecondes et consultée 1640 foisL'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. |
|