Giter Club home page Giter Club logo

fractalpuzzlejs's Introduction

Fractalpuzzlejs

This is a fractal, circle grid jigsaw generator, for lasercutting in wood or acrylic or whatever material. You can download index.html and just run it offline from your browser, or try the online version courtesy of github.io at https://proceduraljigsaw.github.io/Fractalpuzzlejs/.

It should be pretty self-explanatory once you play with it. It uses a pseudorandom number generator to generate the puzzles with deterministic behaviour. Two puzzles generated with the same Seed, Rows, Columns and minimum and maximum piece sizes will produce the same result (maybe with a different scale if you tweak the radiuses and such).

I will probably add a choice to use a non-deterministic randomness generator so you get a unique result every time.

SVG can be exported in two ways:

*Overlapping: pieces are individually contoured. This is good if you want to cut them with a CNC or something with thick cutting width.

*Non overlapping: perfect for lasercutting, as the cutting path is created such that no vectors overlap.

Enjoy!

fractalpuzzlejs's People

Contributors

proceduraljigsaw avatar weevilgenius 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.