moonwave99/fretboard.js

String Thickness

Closed this issue · 5 comments

An option for string thickness such as a true/false for "scaleStrings" would be nice.

I didn't get it - are stringWidth and fretWidth options not enough?

const f = new Fretboard({
  stringWidth: 3,
  fretWidth: 3
});

Sorry I was not clear.. thinking something like this

image

Ah I see!

Ready in 92cccf4, will be part of next release ^^

Example:

const fretboard = new Fretboard({
  stringWidth: [.75, 1, 1.5, 2, 2.5, 3]
});

Sweet! That was fast!!!

Fixed in v0.1.9