Skip to content

Rudimentary Bezier Curves Implementation.#18

Open
TimComm wants to merge 1 commit into
tsoding:masterfrom
TimComm:master
Open

Rudimentary Bezier Curves Implementation.#18
TimComm wants to merge 1 commit into
tsoding:masterfrom
TimComm:master

Conversation

@TimComm

@TimComm TimComm commented Dec 24, 2022

Copy link
Copy Markdown

Currently works for cubic curves (degree 3). For it to work for any degree, input points need to be a list. That would change typical usage of the library though, wasn't sure if that's an okay design choice? Was hoping to get some input on that here before I finish figuring out how to create the tests etc.

@Rentib

Rentib commented Jan 15, 2023

Copy link
Copy Markdown

Why does binomial coeff return double?

@TimComm

TimComm commented Mar 31, 2023

Copy link
Copy Markdown
Author

Good question, I think I had some integer division bug, turned everything into doubles and missed this one while converting back one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants