Coder Social home page Coder Social logo

haskell-dot-gif's Introduction

haskell-dot-gif

Hackage MIT license

Este repositorio demuestra algunas técnicas para la animación usando Haskell y FRP.

descripción

En el nivel base del repositorio hay unos gifs. Cada uno de estos se corresponde a uno de los programas realizados en src/HaskellDotGif.hs.

compilar

para reproducir alguno de estos gifs y experimentar con los parámetros, siga los siguientes pasos.

con nix

  • instala nix:
curl -L https://nixos.org/nix/install | sh
  • clona el respositorio y activa el entorno de desarrollo.
git clone https://github.com/LuisChDev/haskell-dot-gif && cd haskell-dot-gif
nix-shell
  • una vez terminada la carga tendrás una shell con todos los elementos para desarrollar en haskell con Yampa y diagrams. Puedes usar GHCi para cargar e interactuar con el código:
cd src && ghci
Prelude> :l HaskellDotGif
Ok, 1 module loaded.
Prelude HaskellDotGif> :set args -o rainbow2.gif -w 400 -h 400
Prelude HaskellDotGif> animate
animate

haskell-dot-gif's People

Contributors

luischdev avatar

Watchers

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