mbilotta / julia Goto Github PK
View Code? Open in Web Editor NEWJulia: The Fractal Generator
License: GNU Lesser General Public License v3.0
Julia: The Fractal Generator
License: GNU Lesser General Public License v3.0
This is a feature I'd really like and I think it should be possible to have it implemented without the need of support from representation plugins. Basically there should be a way to tell Julia to render 2, 3 or 4 times the size of the requested image and then scale it down averaging the colors inside blocks of 2x2, 3x3, 4x4 respectively. Of course this approach requires a huge amount of memory but could be applied to any representation transparently.
Currently, an error message is displayed with the UI left in some dirty state.
A better behaviour would be:
Currently, the only way to do that is by clicking the big floppy button inside a control window. That's not so obvious for the user.
Ok, I started to work on this using Commons CLI but that led to a dead-end. The biggest limit I've found is the fact there is no way to parse a command line entirely. If a command line contains an unrecognized option, you can choose if the parser should throw an exception or not, but parsing must always stop at the point that option is encountered. This behavior really doesn't help when you want your CLI to bifurcate basing on the presence of one option from a set of mutually exclusive ones. Julia CLI should work like this. At the highest level, user may choose between two options:
~/.juliafg
).While looking for alternatives, I've found picocli that looks promising. This library seems to be much more powerful and elegant and also fits in a single .java file that I can directly embed in my code (as suggested by the author).
Sooner or later Swing will be deprecated in favor of JavaFX (or somewhat else) but I don't plan to rewrite the UI in the near future. That stated, a simple way to make Julia future-proof is to improve its CLI to provide users a complete headless experience.
Java annotations should be used instead for that purpose.
Would be very helpful.
Since JDK version 1.9, ImageIO has added compression level control. See the new PNGImageWriteParam class.
I'd like to have a way for users to throttle fractal image computation. Using this functionality users will be able to limit CPU utilization to keep resources for other programs running along with Julia.
If you hide all control windows, you feel like stuck.
Instead of Pin/Unpin, this button should be named something like "Disconnect from/Connect to main UI". The button should look pressed when the control window acts like connected (aka "unpinned"). This is the opposite of the current behaviour which is quite unintuitive. Of course, icons also should change.
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.