Inspiration
I am fond of mathematics. One day, I found a Complex Number Grapher made by Dan Jutan was fascinated to see how cool were those complex functions graphs were. So I made this app! A python version with some more functionality. Complex Number Grapher
What it does
This app can solve Mathematical expressions containing one or more complex numbers in it. It will also tell you the Modulus, Argument and Polar Form of the answer. It can also graph a Complex Function containing a variable z, here z represents a complex number. It give you some random tricks to solve mathematical computations on complex numbers :)
How we built it
I used the python's built in cmath library to do complutations on complex numbers. And used the Pillow library to draw the graph on an image. I used Complex Domain Coloring to graph a complex function.
Challenges we ran into
First Challege - How to evaluate a mathematical expression containing a complex number
For this problem I used the cmath library and used the python's built-in eval() function.
I also restricted the locals and globals of eval() function for security reasons.
Second Challenge - How to graph a Complex Function. For this I first tried matplotlib but It didn't work quite expected. So, I decided to draw points manually on an image and show it to the user.
Accomplishments that we're proud of
I made a app promoting the beauty of complex numbers to the world.
What we learned
When I was researching on how to graph a complex number I learned a lot of ways to graph. I read many pages of docs from matplotlib and got to know about various methods on how to graph.
Built With
- mecsimcalc
- python


Log in or sign up for Devpost to join the conversation.