You are browsing as a guest. Sign up (or log in) to start making projects!

Manim derivative plotter

  • 6 Devlogs
  • 24 Total hours

A program that you can give a polynomial function and it analyses it for you

Ship #1 Pending review

Manim Derivative plotter:
I started this project a week ago because I#m fascinated with 3b1b’s Animations and thougth being able to do them myself would be pretty cool, so I madde this because it was the first thing that came to mind as I had done derivatives a lot in school last year, so I just made something that can do a part of the tedious boring work for me, at least till we learn something new.

Challenges
At first it was a challenge to learn how exactly Manim works, but once you get the basics it is really easy to expand your knowledge because it is very logical. Then I had problems with manim sideview because it didn’t render so I had to manually render my videos through most of this project (but it was just two more clicks, so that’s okay). I also had to learn a little patience because rendering takes a long time, but I made a simple version with whih i could also test things much faster than with the long rendering animations.

In the end I’m pretty proud of the logic behind the animations, especially the scaling of the axes correspnfing to the function and that I really made something I think is simple enough so I and will use it for school so it’s not just a project nobody needs but actually something useful.

That’s it I think, if you want to see some of the programm outputs or test the project yourself then look in the Readme, it says there what you gotta do, i tested it and I think it should work.

Thats all from me, this has been really fun, I hope you like my project and maybe someone will actually use it for school or something. Thanks for reading, have fun with the plotter :)

  • 6 devlogs
  • 24h
Try project → See source code →
Open comments for this post

4h 8m 1s logged

Devlog 6

Okay so I wanted to ship after last time but then i decided to fix a few more errors and make my project more easily testable, so here’s what i did:

Changes

  • made the input better so you can inpu for example constants without writing x0 behind them
  • fixed a problem with x=0, where sympy.solveset would give me infinite zeros, I made so that it gives none because it was the solution that made the most sense in keeping everything as simple as possible
  • made thg curve indicator graph also work for lines with no curvature and lines with no turning points
  • I made the whole thing downloadable and testable over pipx
  • made the website design a little better
    -made a better Readme and commented my code

That is pretty much it, thanks for reading, if anybody wants to try the project, the Readme says how it’s done, thank you for reading

0
0
6
Open comments for this post

2h 28m 44s logged

Devlog 5

final Devlog I think, after patching the last little bugs and writing a better Readme, I had a little fight with github pages because it sometimes wouldn’t show my videos, luckily I got it to work.

So my Demo is now a page with the rendered videos on it and that should hopefully work for everyone. The pictures are what the demo should look like.

This has been fun and I’m amazed how fast you can create cool stuff with manim, thanks to Grant Sanderson from 3blue1brown.

Right, I’ll get myself some rest and think about the next manim project I will do, thanks for reading and have a nice one.

0
0
40
Open comments for this post

4h 27m 51s logged

Devlog 4

Hello again, today I did a lot of bugfixing and little tweaks to make the animation better

Bugfixes

  • fixed a bug where some functions where only partially shown on screen
  • solved some Transform Problems by sorting the zero points

Other Stuff

  • Made functions shown on screen more appealing by removing useless +es for example
  • added boxes behind the text so you can read it if the functions go through there
  • made user Input more resistant against false Inputs

And I finally got Manim Sideview working correctly, before that I always had to render everything and then show it with sideview, Yay!!!

Gotta sleep now, it’s 1am, thanks for reading and Good night

0
0
16
Open comments for this post

2h 16m 20s logged

Devlog 3

Sooo after the main functionalities were finished I did everyones favourite job:
Bugfixing yay!!!
Here is what I did today and what I still have to do

Bugfixes

  • fixed a bug where curves werent shown because they were above/below the max y values of the coordinates
  • fixed some division by zero stuff
  • made custom boundaries for every function because some werent rendering because they had to render too many values outside of the screen
  • “fixed” a weird type bug in sympy.solveset by just putting a try except there
  • made some turning points with the same values on both sides better

Animations

  • Added the second derivative to the turning points Animation
  • Fit zeros better

To Do

  • Make the Input of derivatives simple more flexible, user error proof
  • Fix Problems with float Inputs
  • Make Good Readme

I will go eat lunch now, thanks for reading, have a nice day!!!

0
0
15
Open comments for this post

1h 29m 29s logged

Devlog 2

After way tooo much work today I finished all the animations after fighting with data types for a while and I added the simple mode where it just gives you the finished picture without animations.

Thank you for reading, have a nice night, I gotta sleep now

1
0
64
Open comments for this post

9h 19m 35s logged

Devlog 1

I wanted to start creating Animations with manim for a
while and this was a logical place to start because we just recently learned derivatives in school

Here’s what i have so far

-You can input normal polynomial expressions in the source code
-They are plotted along with their first and second derivative
-The program sows the zero points of all those functions
-It then shows the Maxima/Minima and the Turning Points

I also added some fn little tweaks like the coordinate system fitting itself to whatever function you input.

What I want to do next:
-Make the Animations better
-Maybe add other types of functions

That’s about it, thanks for reading, have a nice day

0
0
32

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…