Giter VIP home page Giter VIP logo

dcolor's Introduction

DColor: A Domain Coloring Python Module

What is DColor?

DColor is a Python3 module for visualizing complex-valued functions using a Domain Coloring scheme.

Requirements

DColor leverages two well-known Python libraries: Numpy and Matplotlib. Before being able to use DColor, you must install these using the following commands:

$ python3 -m pip install -U numpy

$ python3 -m pip install -U matplotlib

Quick Start

Prepare the source file in your local environment, and create an instance of the DColor object. For example:

dc = DColor(xmin=-10, xmax=10, ymin=-10, ymax=10, samples=4000)

Lambda expressions are used to define and pass functions to the plot() function. For example:

dc.plot(lambda z : ((z+1-2j)*(z+2+2j)*((z-2)**2))/(z**3))

Which results in the following plot:

Example 1

Website and Documentation

Currently, this is a one-person project and so these are still under construction. Contact me by e-mail at [email protected] if you would like to help out with anything.

Contributing

If you are interested in contributing or have any suggested changes, clone the repo and make a pull request :)

dcolor's People

Contributors

hernanat01 avatar hernanat avatar kokounet avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.