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

Implement fixed-point #15

Merged
merged 5 commits into from
Mar 3, 2024
Merged

Implement fixed-point #15

merged 5 commits into from
Mar 3, 2024

Conversation

cceckman
Copy link
Owner

@cceckman cceckman commented Mar 3, 2024

Fixed #1.

I don't think this is super interesting as far as fractals go, since it's tied
to an absolute scale; it's ~always going to break down at the same place,
rather than having artifacts at various scales (like the fractal itself).

Maybe a more-precise fixed-point variant will be more interesting at smaller
scales.

  • Move types around, prep for parallel rendering
  • Make "from BigRational" a distinct trait
  • Fix centering issue in request conversion
  • Implement fixed-point conversions from BigRational
  • Add fixed-point to the UI

I want to render across more cores, using `rayon` or similar.
To do so, we need some way to express "a top-level request" to the
thread-pool, independent of the web request.

Split this out in ff-core.
I'm working on doing more rendering in parallell, including making
"get coordinates" a common operation. This requires distinguishing
"convert from BigRational" from "MandelbrotNumber"
@slongfield slongfield merged commit 786eb6f into main Mar 3, 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.

Fixed-point for Mandelbrot
2 participants