GithubHelp home page GithubHelp logo

fransfaase / fractaljigsawpuzzle Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 5.0 126 KB

C++ program for generating SVG files representing Fractal Jigsaw Puzzles optimized for laser cutting

License: GNU General Public License v2.0

C++ 99.60% Shell 0.40%

fractaljigsawpuzzle's People

Contributors

fransfaase avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fractaljigsawpuzzle's Issues

Almost there: Missing spots on the fractal

Hi, I am trying to generate a simple fractal. I have most of it working but need help in a couple of issues:

  1. Missing circular white spots and incomplete ends
    For every fractal I generate, I end up with missing white circular spots across the canvas.
    To demonstrate an example, from among the solutions generated with the following command -
    ./pianofrac gen_ec -con -range=2-3 -with_name | ./ExactCover | ./pianofrac normalize -minimal | ./pianofrac used_pieces | sort | uniq -c | sort,
    I choose the following combination of pieces:
    1,1,1,2,2,2,2,2,3,4,4,4,4,7,7,10
    as and input to:
    ./pianofrac svg -depth=1 -stroke_width=2 > t2.svg
    Given that github doesn't support svg files. I have uploaded it as a txt.
    t2.txt
    What am I missing?

  2. Reduce complexity of the fractal
    In addition, I want to reduce the complexity of the fractal i.e. I want to have fewer lines within the same dimensions(or same side length). How do I go about it?

Thanks in advance :)

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.