Linear Interpolation along a Triangle with Barycentric Coordinates | Job van der Zwan | Observable
Author
Job van der Zwan
@jobleonard
Tinkering with code and algorithms for fun
Comments (8)
Fabian Iwand
Dec 12, 2021
Currently broken and needs to be pinned. The latest compatible version is "0.20.1".
Job van der Zwan
Dec 12, 2021
Thanks!
Reply
Fabian Iwand
Dec 12, 2021
Have you thought about turning the triangle area into a color picker?
Job van der Zwan
Dec 12, 2021
That was my original reason for making this, then it turned out I didn't need one and I didn't bother finishing it :p
AlexP
Feb 2, 2024
Hi, could you please show me how to change background color to something other than white?
Job van der Zwan
Feb 4, 2024
Does this work for you?
AlexP
Feb 4, 2024
Hi Job, this is wonderful! I cannot thank you enough!
Job van der Zwan
Feb 4, 2024
Glad to be of help :)
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
7
Follow
Follow
Linear Interpolation along a Triangle with Barycentric Coordinates | Job van der Zwan | Observable