Loading...
Works

Tree Plotter 2024

icon

A recursive assembly program that dynamically plots perfectly scaled binary trees as ASCII art. Utilizing depth-first traversal, it automatically calculates optimal tree dimensions, adjusts branch sizes based on emulator screen constraints, and demonstrates precise control over recursion, geometry, and low-level I/O.

Key Features

  • Recursive Traversal: Implements depth-first recursion to accurately render tree structures, with node widths computed dynamically.
  • Dynamic Scaling: Automatically adjusts the size and layout of the binary tree based on the current emulator window dimensions.
  • Low-Level Rendering: Directly manages screen coordinates and rendering logic using SMAL assembly for precise positioning and visual clarity.
Tree Plotter Thumbnail
© 2025 Karan Singh. All Rights Reserved.
This website is built based on Takuya Matsuyama's website