Giter Club home page Giter Club logo

snowflakes's Introduction

snowflakes

Create generative art for pen plotters in Processing.

Example image

This software fills a canvas with dynamically generated snowflakes. SVG output is ready for printing or plotting.

Getting Started

Requirements

Config

Edit the config.pde file to set the canvas size, pen width, and preview settings.

There are also vars here to control snowflake size and padding.

Usage

When the sketch is started, it will use a circle-packing algorithm to fill the screen with dynamically generated snowflakes.

Press R to randomize all snowflake designs.

Click an individual flake to randomize the design for that specific flake.

Key Commands

R: Re-randomize design for every snowflake on the canvas. This won't re-position the flakes. Restart the sketch to generate new flake positions.

D: Toggle debug drawing.

S: Save a plot-ready SVG.

Mask Image

You can load a black and white mask image to indicate which areas of the canvas are available for snoflake placement (white), and which areas should be left blank (black).

To enable this, set useMask to true in config.pde and set the maskImagePath to the mask image you want to use.

Support

This is a personal project and is mostly unsupported, but I'm happy to hear feedback or answer questions.

License

This project is licensed under the Unlicense - see the LICENSE file for details.

snowflakes's People

Contributors

cadin avatar

Stargazers

 avatar  avatar

Watchers

 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.