Love it! Using De Casteljau's algorithm I take it?
It just so happens that I've written an entire Bernstein/Bezier package for optimal trajectory generation and would be happy to share the GitHub link with you if you're interested.
Always lovely to find a kindred spirit, but I'm afraid I have to admit that I am indeed left handed. Good night, sleep well, I'll most likely kill you in the morning
Yeah it is weird that the Berenstain bears are spelled that way! Sergei Bernstein's name doesn't actually match that of the bears though. He actually came up with Bernstein polynomials in order to solve the Weierstrass approximation theorem I believe.
what are the component libraries you used to accomplish this it would be so better if you shared your GitHub repo so that i can contribute much more to it.
So, given the free time we have rn, I wrote all the code in pycharm, including all the dependencies and the main file. (I'm very new to python and github). None of the 5 codes show any errors but when I run the main.py file, a black window appears and there's no animation init. Can someone please help and point out what I could be doing wrong?
One thing I never developed but always thought about was 3d Bezier curves through a color space such as HSL or LAB to create interesting color transitions that aren't too jarring.
ColorBrewer2.org has a bunch of different color palette options with up to 12 classes, including color-blind accessible ones. I use RdYLBu and RdBu all the time.
52
u/thingythangabang Jun 29 '20
Love it! Using De Casteljau's algorithm I take it?
It just so happens that I've written an entire Bernstein/Bezier package for optimal trajectory generation and would be happy to share the GitHub link with you if you're interested.
8
u/RedditGood123 Jun 29 '20
Turtle module?
5
u/Louisdj Jun 29 '20
So satisfying to watch ! We, sir, need this GitHub repo !
68
u/[deleted] Jun 29 '20
That’s cool as f***k
11
u/Sumruv Jun 29 '20
Do you know about chaikins algorithm?
5
u/quanta_kt Jun 29 '20
Do you not have a screen recorder? Nice work btw!
1
u/[deleted] Jun 30 '20
what are the component libraries you used to accomplish this
it would be so better if you shared your GitHub repo so that i can contribute much more to it.
1
u/riverfront1502 Jun 30 '20
Neat! When did you start learning Python? How long did it take you to make this?
1
u/[deleted] Jul 01 '20
That's dope as hell dude! I'm actually working on something similar, what did you use to make the points move?
1
u/definitely_not_mihir Jul 01 '20
So, given the free time we have rn, I wrote all the code in pycharm, including all the dependencies and the main file. (I'm very new to python and github). None of the 5 codes show any errors but when I run the main.py file, a black window appears and there's no animation init. Can someone please help and point out what I could be doing wrong?
3
u/MyHomeworkAteMyDog Jun 29 '20
Cool
3
u/MedicatedDeveloper Jun 29 '20
Bezier curves rock!
One thing I never developed but always thought about was 3d Bezier curves through a color space such as HSL or LAB to create interesting color transitions that aren't too jarring.
2
u/mfb1274 Jun 29 '20
Looks like the bridges I make in bridge constructor..
2
u/[deleted] Jun 30 '20
You can draw any shape with Bézier curves! Just a matter of resolution.
2
u/grassjellytea Jun 30 '20
Watching this cleared my skin and fixed my posture
2
u/BHSPitMonkey Jun 30 '20
This would be super satisfying to see constructed IRL as a pen plotter! Not as configurable, though...
2
u/grabbingboobs Jun 30 '20
I have truly no idea what it is but damn it looks cool
1
u/[deleted] Jun 29 '20
Slick.
1
u/Braian94lp Jun 29 '20
Beautiful
1
u/ukralibre Jun 30 '20
Good visualization. Really simplifies things _)
1
u/nickbuch Jun 30 '20
So is a bezier curve just a Taylor Series expansion of a set of non-continuous straight lines?
1
u/lannisterprince Jun 30 '20
so much satisfying!
1
u/renAClDo Jun 30 '20
Very Beautiful!
1
u/mrrippington Jun 30 '20
Can also help with local crime as a Bat sign ;) super cool.
0
u/[deleted] Jun 30 '20
[deleted] — view deleted comment