tsoding / olive.c

Simple 2D Graphics Library for C
https://tsoding.github.io/olive.c/
MIT License
1.86k stars 105 forks source link

VC Term: Iterate over smaller steps instead of doubling over the horizontal axis #24

Open AMurkin opened 1 year ago

AMurkin commented 1 year ago

Introduces VC_TERM_ASPECT_RATIO which is 2 by default. Could be float. Important change - in the main loop we print only one char per scaled down image pixel.

Probably something should be changed in the "Width must be divisible by VC_TERM_SCALE_DOWN_FACTOR" assert.

change