--- title: "Drawing a Line" type: "article" slug: "drawing-a-line" url: "http://localhost/article/drawing-a-line/" markdown_url: "http://localhost/article/drawing-a-line.md" published_at: "2022-01-30T01:38:41+00:00" modified_at: "2024-05-26T14:27:54+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Code that implement's Bresenham's line algorithm in C and BASIC for the ZX81." category: - name: "ZXzine" slug: "zxzine" taxonomy: "category" url: "http://localhost/category/periodicals/zxzine/" post_tag: - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "Z88DK" slug: "z88dk" taxonomy: "post_tag" url: "http://localhost/tag/z88dk/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" indiv: - name: "Tim Swenson" slug: "tim-swenson" taxonomy: "indiv" url: "http://localhost/indiv/tim-swenson/" publication_r: id: 38051 title: "ZXzine" type: "periodical" url: "http://localhost/periodical/zxzine/" authors: "Tim Swenson" issue: "1" issues_articles: - id: 38348 title: "ZXzine Issue 1" type: "issue" url: "http://localhost/issue/zxzine/" pages: "8" pubdate: "August 2015" download: "https://archive.org/download/zxzine/ZXzine01.zip" archive_link: false --- # Drawing a Line Code that implement’s Bresenham’s line algorithm in C and BASIC for the ZX81.