GithubHelp home page GithubHelp logo

artwork-2020-03's Introduction

Artwork 2020 03

Moving from Quadtree to Octree for 3D packing


Installation

Install the canvas-sketch CLI globally:

npm install canvas-sketch-cli -g

If streaming exports to GIF/MP4, install ffmpeg, e.g. on Ubuntu:

sudo apt install ffmpeg

Usage

1a. Basic:

canvas-sketch input/artwork.js --output=./output

Use the --output flag to ensure file structure continuity between projects

1b. With GIF export:

canvas-sketch input/artwork.js --output=./output --stream [ gif --scale=512:-1 ]

Allows the ability to export to GIF files at 512px wide using Ctrl + Shift + S

Additional CLI config options can be found in the canvas-sketch CLI Docs

2. Open

Open localhost:9966 in the browser

3. Iteration

Use canvas-sketch's git hashing feature to iterate on artwork: Ctrl + K performs a git add and git commit, so that previous iterations can easily be accessed and re-run via their SHA

artwork-2020-03's People

Contributors

kellymilligan avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

wclwksn

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.