josiahseaman / skittle

DNASkittle is a web based genome browser that provides an interactive visualization of the raw sequence. Every nucleotide of 10Kbp can fit on one screen at a time. It makes heavy use of signal processing techniques to extract tandem repeats, and other genome elements.
GNU General Public License v2.0
7 stars 4 forks source link

Vertical stretch based on ratio #141

Closed josiahseaman closed 11 years ago

josiahseaman commented 11 years ago

Instead of calculating the total height, which needs padding. Calculate the ratio between the charactersperline of the image you're displaying and the current charactersperline. Scale vertically based on this ratio.