Code Monkey home page Code Monkey logo

elm-interactive-art's Introduction

Elm-Interactive-Art

This app was created using Elm and the shapes was rendered using MacCASOutreach's GraphicSVG package. Create your own animations!

How to Create your Animation

First, you will be prompted to Main Menu Screen, which will have 2 text fields. The first one is for the angle of the rotation and the second one is for the increment of the position of the circles. Tip: Keep the position increment low for better result. The text fields already come with a default value, so if you keep it empty, it will use the default value to render the animation

Then click Start Animation to begin!

Once in the Animation screen, the circles are going to reach a fixed position and will keep spinning in that place. Click anywhere on the screen to change the direction of the rotation and to decrease the position.

If you keep clicking the screen, the circles will reach outside of the fixed position and will make its way inside and back to its fixed position.

To make another animation, simply refresh the webpage.

The constant rendering of the circles is possible because of it being added to a list each time and rendering that list with previous circles.

elm-interactive-art's People

Contributors

dhruv423 avatar

Watchers

James Cloos avatar  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.