Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cargo for examples #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schenlap
Copy link

@schenlap schenlap commented Nov 2, 2023

Add cargo files for examples. Merge it if you want.

@millardjn
Copy link
Owner

Hi, sorry for the slow response.

Is there an advantage of having separate cargo files for the examples vs cargo run --release --example spider? I should put together an example of using palette and the CIE XYZ color space for accurate color rendering given a black body spectrum.

Do you mind sharing what you are looking to use the crate for? I'd be interested in knowing what features are interesting.
I released a GUI for this project at https://www.diffractionlimit.com/ which is a lot easier to use that suits what you are doing.

@schenlap
Copy link
Author

Hi,

I don't have much experience with Cargo yet. I didn't know you could compile it like that. The pull request can therefore be closed. Maybe you would like to write a small readme on how to compile and use it, which might also affect other users.

I know the gui, but it is not really useable with linux and wine. It can be startet but all buttons flicker and it crashes from time to time.

I begann writing a cli (also it ist not really a cli, but it can be configured with a json file) to use ist from bash to automatically generate images with different settings.
https://github.com/schenlap/summed_field_method/commits/cli
I use it to simulate and optimize different version of Bahtinov and Carey masks. Thans for sharing our library.

@millardjn
Copy link
Owner

Those issues sound pretty important! Thanks for letting me know.
I had already been thinking it is time that I rewrite the GUI in Iced, given that Druid has been abandoned and Xilem doesn't look like it will be ready for a while. I think a CLI is a good idea too, though there are so many options it would be hard to learn without a (working) GUI first I think.

If you are interested in what the next version of the software looks like I'd be happy to hear your thoughts. I've been thinking about adding Zernike aberrations and atmospheric turbulence simulation, for animated diffraction patterns, and a bit more control over the illuminant. Hopefully the code is less rushed this time so I won't mind opening the GUI too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants