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

Circular scattering pattern #48

Closed
szapp opened this issue Sep 13, 2016 · 2 comments
Closed

Circular scattering pattern #48

szapp opened this issue Sep 13, 2016 · 2 comments

Comments

@szapp
Copy link
Owner

szapp commented Sep 13, 2016

Right now the scattering pattern is in a diamond (see below). This should be adjusted into a circle or ellipse.

Also check the rgn: The center seems to be less populated.

e82COa7[1].jpg

@szapp
Copy link
Owner Author

szapp commented Sep 14, 2016

As of now the second angle (y-axis) is constrained by the first (x-axis) is like this, resulting in an diamond shape: maxscatter-x (maxscatter = 3.0):

as.png

How about sqrt(maxscatter^2 - angleY^2) ? Yes that should work, for maxscatter = 3.0 it looks like this:

as.png

angleMax = roundf(sqrtf(subf(sqrf(mkf(angleMax)), sqrf(mulf(angleY, mkf(1000)))))); // sqrt(angleMax^2-angleY^2)

@szapp
Copy link
Owner Author

szapp commented Oct 13, 2016

Fix #48 #50 scatter

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

No branches or pull requests

1 participant