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 Mandelbrot shader #430

Closed
wants to merge 2 commits into from
Closed

Conversation

kant2002
Copy link
Contributor

It does not perform that well on full screen, but I think that's much interesting sample with rich cultural background

image

It does not perform that well on full screen, but I think that's much interesting sample with rich cultural background
@rickbrew
Copy link
Collaborator

Here's Paint.NET 5.0's Mandelbrot Fractal shader code -- it has some fun properties to experiment with. Feel free to port it over here to ComputeSharp. https://gist.github.com/rickbrew/479e5e3e7b1d8ba7b4e76fc1246bb229

image

@kant2002
Copy link
Contributor Author

Obviously much better looking then mine. But at least I was able to better understand API by implementing things myself. What if I just borrow colors generation function? I think simpler version better for educational purposes. I hope Mandelbrot still popular enough to be easiest recognizable

@rickbrew
Copy link
Collaborator

rickbrew commented Nov 28, 2022

What if I just borrow colors generation function?

Borrow whatever you want :)

@Sergio0694
Copy link
Owner

Closing this for now. The fact it can't run in realtime also makes it not really ideal for the sample app. We might reconsider porting the version from Paint.NET in the future perhaps as a unit test and sample for people to check out, I suppose. Thank you! 🙂

@Sergio0694 Sergio0694 closed this May 24, 2024
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.

None yet

3 participants