Giter Site home page Giter Site logo

nicho810 / random-comic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cadin/random-comic

0.0 2.0 0.0 19.04 MB

Generate randomized comics from a collection of images

Home Page: http://cadinbatrack.com/projects/vomitComics/

License: The Unlicense

Processing 100.00%

random-comic's Introduction

random-comic

A Processing app to generate random comics. Comic

Getting Started

Basics

Run build.pde in Processing 3.

While the app is running, press r to randomize your comic. This will change the layout as well as the selected images.
Click any panel to change the panel image without altering the comic layout.

To save your image press the s key.
Images are saved to the output folder.

Adding Images

Images should be saved as transparent PNG files in the images folder.
Each image needs to have a identically sized and named outline image saved to the imageOutlines folder. These white outlines are placed behind images when a black panel background is used.

The default resolution for both input and output is 600 ppi. Panels are sized in increments of 0.75 inches. So a 1x1 image would be 450 x 450px.
The image resolution can be adjusted via the Config file.

Each image needs to have an entry in the assets.csv file. The minimum required data is the filename, but you can also specify a focal area (in pixels, based on a 600 ppi image), minimum number of panels for width and height, which side of the panel (if any) the image should be anchored to, whether or not the image uses a horizon line, and minimum and maximum y positions for the horizon line (in pixels, based on a 600 ppi image).

Customization

Customize the comic features by editing variables in the Config.pde file.
You can create and customize instances of Config to make it easier to switch between versions (for quickly changing resolution and margins for example).

If you want panels larger than 4x4, you'll need to draw your own frames for them.

License

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

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.