Giter Club home page Giter Club logo

origamlee's Introduction

OrigamLee

This is for creating basic origami tesselation patterns that can be laser cut or creased.

  • Custom width/height of tesselation
  • Gradient X and Y axis
  • Grids
  • Linear folds
  • Radial folds

use

Uses DrawSVG and Python 3 to create and export SVG files. Saves them out as Pattern.svg.

pip3 install drawSvg
python3 draw.py

.svg can be opened in web browser or vector program.

To make a simple waterbomb pattern, use makeSimple Params are: width, height, fold, Pieces.FOLDNAME Fold is a boolean for toggling mountain or valley

t.makeSimple(100, 100, 0, Pieces.waterbombTwo)

To make a complex grid Params are: width, height, fold, first pattern, second pattern

t.makeComplex(100, 100, 0, Pieces.waterbombOneA, Pieces.waterbombOneB)

To make a gradient in X and Y Params are: width, height, factor, iterations, piece

t.makeGradientXY(100, 100, 5, 10, Pieces.waterbombTwo)

To make a complex grid with gradient in X and Y Params are: width, height, fold, first pattern, second pattern

t.makeComplexGradientXY(50, 50, 5, Pieces.waterbombOneA, Pieces.waterbombOneB)

current patterns

  • 3 waterbomb grids
  • 2 linear point variations
  • basic radial fan fold

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.