Comments (3)
Definitly! Atm I an using fancy canvas functions to get the colors right. I wanted this to do on the svg, but paper.js needs closed shapes for masks. And the lines are.. well... just lines with a width. So I can not color the svg itself.
Work around is to do this by hand in inkscape.
from 35c3-circuit-generator.
Work around is to do this by hand in inkscape.
Yep had to do so, too.
It's kinda hard, because you first have to convert & merge everything into one path. And these "black dots" (black circled filled with black fill color), where there are splits, are also hard, because you cannot just convert "the curve into a path", because then they get transparent in the middle… I actually had to duplicate them and convert one of each of these "object into path", merge these versions together, and then have solid-filled-dots. Only afterwards, I could merge everything and apply the gradient…
from 35c3-circuit-generator.
Yeah, I see :/
I had an very early version of the generator where I only drew closed shapes (rectangles in a certain width/height) instead of lines. But the union operation on the paths glitched in a really weird way, so I stayed with lines. Sadly paper.js has no "lines to paths" function yet.
from 35c3-circuit-generator.
Related Issues (7)
- Improve responsiveness
- [Suggestion] Add more "flip-flop"(memory)-like circuits HOT 3
- Link to Github instead of google for the font HOT 1
- scale slider does not work HOT 3
- [Suggestion] Function to overlay the "35C3" logo HOT 6
- [Suggestion] Scale slider: add more "scales" or: show the possible scales on the slider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 35c3-circuit-generator.