Giter Site home page Giter Site logo

le280-vsketch's Introduction

le280-vsketch

What's this?

This sketch collection is adapted from <=280 by Jean-Noël Lafargue.

IMG_2874

The goal is to port as many sketches as possible to vsketch, so that they may be plotted. Several of the <=280 sketch are readily adaptable thanks to the similarities between vsketch and Processing, some might be trickier to convert, while others outright impossible due to their raster nature. Regardless, let's port as many as possible, even if some degree of interpretation is occasionally needed.

Though the collection is primarily an homage to this great book, it also aims to serve as vsketch examples. As a result, keeping sketches under the 280-character limit is a non-goal. Rather, the port should favour idiomatic approaches such as using Numpy.

To contribute

Create sketch using the template I created for this project:

vsk init --template https://github.com/abey79/cookiecutter-le280-vsketch le280/XXX

Ignore page size and landscape prompts.

To keep with the book spirit, all the sketch are set up with a 500x500px size, and pixels are kept as unit in the code (i.e. no vsk.scale("cm") or similar). In addition to optimisation, the sketches' finalize() functions also draw a frame around the sketch, and lay it out on a page with configurable page format and margins. This way, the SVG output can readily be plotted while the interactive experience mimics the book's layout.

License

The <=280 book states that "[its content] can be adapted, remixed, borrowed or stolen". The same goes for this repository.

le280-vsketch's People

Contributors

abey79 avatar

Stargazers

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

Watchers

 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.