Giter Site home page Giter Site logo

xam4lor / fouriersvgdrawing Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 4.0 113 KB

Animate any illustrator svg file, using fourier transform

License: MIT License

JavaScript 87.33% HTML 4.05% Python 8.37% Batchfile 0.24%
fourier-transform svg-animations art

fouriersvgdrawing's Introduction

FourierSVGDrawing

This code draws an animation of any illustrator svg file, using fourier transform. This project was made based on a video from Daniel Shiffman.

Export the svg file

Firstly, you need to open Illustrator and create a new file. You must use the "pen tool" and draw only one line without it beeing a curve (you can check the path example for more informations). Then, simply export your drawing as an "svg" image called "path.svg" and copy the image to the root folder.

Run the script and watch

Double-click on "run.bat" and watch the drawing beeing made...

This is an example of bambi (is it you?) drawn by the program

Sorry bambi

fouriersvgdrawing's People

Contributors

xam4lor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fouriersvgdrawing's Issues

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.