Advanced Graphics with the Commodore 128 by M. M. Novak (auth.)

By M. M. Novak (auth.)

Show description

Read Online or Download Advanced Graphics with the Commodore 128 PDF

Similar graphics & multimedia books

Graphic Designer's Guide to Clients: How to Make Clients Happy and Do Great Work

This is the proper quantity for image designers who wish real-life suggestion for long term good fortune. popular dressmaker Ellen Shapiro finds time-tested methods of the trade-for ensuring the consumers you must paintings with learn about you, develop into your consumers, and paintings with you productively. Then, in a chain of one-on-one interviews, top designers reminiscent of Milton Glaser, April Greiman, Mike Weymouth, Drew Hodges, Marc Gob?

Morphs, Mallards, and Montages. Computer-Aided Imagination

This ebook is for everybody who is attracted to special effects and the way it could actually take us on fascinating trips powered through mind's eye and a love of discovery and invention. every one bankruptcy investigates a different subject and provides you the instruments to proceed that exploration by yourself. learn the probabilities of: - Pop-up books and playing cards - Reconstructing shredded files - Crop circles - Weaves and Tartans - Morphing pictures and lots more and plenty extra!

Going digital : the practice and vision of digital artists

By no means prior to has a unmarried device served within the production of artwork the way in which that electronic know-how does, from photographic photograph making, to animation, to conventional portray. electronic know-how turns into necessary to growing and knowing artwork within the twenty first century. "Going electronic: The perform and imaginative and prescient of electronic Artists," takes the original procedure of mixing a how-to consultant with severe and theoretical dialogue.

Additional info for Advanced Graphics with the Commodore 128

Example text

Otherwise, we would have to supply integers ourselves. We can illustrate this point by drawing a straight line directly from its definition. 1. 0 FOR X=10 TO 300: DRAW 1,X,199-FNY(X):NEXT As it stands, the function Y(X) defined in line 120 must be calculated for every value of X, as needed by line 130. As a result, one multiplication and one addition must be performed at every single X. Consequently, when many points are involved, these operations lead to long delays, thus slowing down the overall graphic creation.

Note the variant of DRAW in line 200. It plots a straight-line segment between the current and the specified positions. As a second example, we write a routine that will use individual points, as given in DATA lines, and connect them with straight-line segments. 6. 6 1111111 11111 12111 13111 REM GRAPH COLOR 1,8: GRAPHIC 1,1 NP=111l: DIM XCNP), Y(NP) READ X(IIJ),Y(IIJ): DRAW 1,X(IIJ),199-Y(IIJ): FOR 1=1 TO NP: READ XCI>,Y(I) 14111 DRAW TO X(I),199-Y(I): NEXT 15111 DATA 1111,6111, 45,19111, 95,1111111, 12111,9111, 133,99, 159,13111, 25111,59 16111 DATA 259,4111, 288,5111, 311,7111, 315,92 The coordinates are READ from DATA and a straight-line segment is DRAWn between the newly fetched point and the last one displayed.

05*X+130,99+Y: NEXT T To complete our discussion of curves in Cartesian space, we shall briefly describe three further curves: ellipse, parabola, and hyperbola. Only the first of these curves can be plotted using the CIRCLE command. Ellipse A set of points whose sum of distances from two fixed points (foci) is constant forms an ellipse. In mathematics, such a relation is described by 30 Advanced Graphics with the Commodore 128 X * X/(P * P) + Y * Y/(Q * Q) = 1 if the centre of that ellipse is at the origin.

Download PDF sample

Rated 4.94 of 5 – based on 49 votes