Skip to content

ASMHSE/ThickLines-in-Assembly

Repository files navigation

An Anti-Alised Thick Line: The Double Bresenham's Line

Assembler: UASM 2.58 Main Developers , Long lines version

Framework : ObjAsm C.2 - masters : Main Developer , Fork - working version 6 march 2024
(Just Plain MASM is coded, no OOP)

This line use 2 times Bresenham algorithm: one for the line itself and other to calculate extreme lines, wich are prependicular to the main line.

Some remarks:

  • The width from this process is the true intended width, not cuts width like in some other thick lines.

  • To connect lines an additional element is used.

  • Lines drawing and connections happen in a buffer screen and you just can see the result.

  • Lines can be flat antialiased or a pipe (3D). This last is antialiased implicitly.

  • Compact version (for development) use UASM assembler builded with more macros levels capacity (now look that is current development version). Assembler binaries in Long lines version repository

  • Antialiased borders are blnded with background

Any sugestion or improvement is welcome!

thick5

About

An Anti-Alised Thick Line: The Double Bresenham's Line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors