--- title: "QL Chaos Program" type: "article" slug: "ql-chaos-program" url: "http://localhost/article/ql-chaos-program/" markdown_url: "http://localhost/article/ql-chaos-program.md" published_at: "2026-03-15T00:43:08+00:00" modified_at: "2026-03-15T00:43:08+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "SuperBASIC program implementing the logistic map chaotic attractor for the Sinclair QL. Uses WINDOW, FOR/NEXT loops, and POINT commands to visualize the behavior of x = rx(1-x) across parameter values r = 2.978 to 4. The program contains a deliberate or accidental bug; readers are invited to find and correct it. A second shorter variant…" category: - name: "Timelinez" slug: "timelinez" taxonomy: "category" url: "http://localhost/category/periodicals/timelinez/" post_tag: - name: "QL" slug: "ql" taxonomy: "post_tag" url: "http://localhost/tag/ql/" - name: "Superbasic (programming language)" slug: "superbasic-programming-language" taxonomy: "post_tag" url: "http://localhost/tag/superbasic-programming-language/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Sinclair QL" slug: "sinclair-ql" taxonomy: "model" url: "http://localhost/model/sinclair-ql/" indiv: - name: "Andy Hradesky" slug: "andy-hradesky" taxonomy: "indiv" url: "http://localhost/indiv/andy-hradesky/" publication_r: id: 21571 title: "Timelinez" type: "periodical" url: "http://localhost/periodical/timelinez/" authors_r: - name: "Andy Hradesky" slug: "andy-hradesky" taxonomy: "indiv" url: "http://localhost/indiv/andy-hradesky/" volume: "7" issue: "4" issues_articles: - id: 38869 title: "Timelinez v7 n4" type: "issue" url: "http://localhost/issue/timelinez-v7-n4/" pages: "12" pubdate: "April 1989" archive_link: false --- # QL Chaos Program SuperBASIC program implementing the logistic map chaotic attractor for the Sinclair QL. Uses WINDOW, FOR/NEXT loops, and POINT commands to visualize the behavior of x = rx(1-x) across parameter values r = 2.978 to 4. The program contains a deliberate or accidental bug; readers are invited to find and correct it. A second shorter variant using POINT at different coordinates is also provided.