Use Javascript D3 to create your graffiti

Source: Internet
Author: User

Matplotlib can be used to create beautiful and precise mathematical graphs:


However, sometimes you don't want to be so rigorous and formal when talking about ideas. You want to use a simple, graffiti-style image:


The MATLAB XKCDify project can be used to generate the above graffiti:

Https://github.com/slayton/matlab-xkcdify


However, this article will introduce how to use the Javascript D3 library to generate your own graffiti files online, which is much more convenient than installing Matlab,

The following figure shows the webpage interface. Fill in the equation, graffiti title, X/y axis parameters and labels you want to express. You can also adjust the graffiti degree through jQuery UI Slider control.


The demo address is as follows: Create your own graffiti mathematical graphics


By iefreer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.