d3-cam16
d3-cam16 copied to clipboard
build error
The current code doesn't build because of this part (with a / b = …).
if(M === undefined || M === null) {
// TODO verify this is correct; check for divide by 0 case?
// SUPER TODO this is wrong; fix the tan inverse function and calculate the right brightness! that'll lead you to the correct C
a / b = tan(h)
M = a / Math.cos(Math.atan2(b,a));
}
Is there something we can do to help you finish this module?
@Fil I've been working on this in my spare time's spare time. It's almost done, uses the Nico implementation, mixed with some snippets from Jrus. Hoping for PR in the next few weeks.