Implementation of Bresenham's line algorithm using logisim
- Logisim (known to work on 2.7.1)
skeleton.circ
: skeleton code provided before Project 1bresenham.circ
: implement Bresenham's line drawing algorithm
- Open
bresenham.circ
with Logisim. - Set "Simulate -> Tick Frequency" (128 Hz or higher recommended).
- Select "Simulate -> Ticks Enabled" (Ctrl-K).
- Select the hand shaped tool ("Change values within circuit", Ctrl-1).
- Modify the values of x1, y1, x2, y2 in circuit.
- The LED Matrix on the screen should change in respond to the changes, by drawing a line from (x1, y1) to (x2, y2) using the Bresenham's line algorithm.
- This project is published under GNU AFFERO GENERAL PUBLIC LICENSE Version 3.