Sierpinski Triangle Renderer
  1. All files
  2. TI-89 Programs
  3. TI-89 BASIC Programs

Description

A simple Sierpinski triangle rendering program I made in an hour after Merth uploaded a picture in the instant chat (SAX?) of Cemetech showing a few calculators rendering a Sierpinski triangle. Being an ardent user of the TI-89 Titanium, I just had to create one myself.

It supports zooming via the built-in window variables; make sure to open "sierpgdb" before launching the program, though. If you want to change the random point selected inside the triangle before the program starts or change the number of iterations, feel free to edit it; the variable names are descriptive enough.

You should have Flib installed. (https://www.ticalc.org/archives/files/fileinfo/117/11770.html)
Flib is used to display the current iteration number in the status line. If you don't want this functionality or you can't install Flib, then just comment out the `main\flib([...]` call near the bottom of the program.

It's not meant to be optimized at all. APD will trigger during the execution of this program, and I don't know why. Disable it or change its duration beforehand if you want to do >~4000 iterations.

P.S.: The README.txt file in the ZIP contains exactly the text you see above. Don't waste your time re-reading that if you've already read this.

Screenshots

Screenshot #9637

Archive Contents

Name Size
sierp/README.txt 1.1 KB
sierp/sierp.89p 709 bytes
sierp/sierpgdb.89d 270 bytes
Download file
File Size
1.9 KB

Metadata

Uploaded

Statistics

Rating
No ratings.
Downloads
38
Views
75

Reviews

Nobody has reviewed this file yet.

Versions

  1. Sierpinski Triangle Renderer (published 4 weeks ago; 2025-01-19 22:29 UTC)

Advertisement