fransfaase / fractaljigsawpuzzle Goto Github PK
View Code? Open in Web Editor NEWC++ program for generating SVG files representing Fractal Jigsaw Puzzles optimized for laser cutting
License: GNU General Public License v2.0
C++ program for generating SVG files representing Fractal Jigsaw Puzzles optimized for laser cutting
License: GNU General Public License v2.0
The program seems to stop as soon as i enter the [sort | uniq -c | sort] command. Everything else works great up to that point.
Hi, I am trying to generate a simple fractal. I have most of it working but need help in a couple of issues:
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?
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 :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.