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

Inner Coloring Function for periods #1

Open
josecelano opened this issue Jun 5, 2020 · 1 comment
Open

Inner Coloring Function for periods #1

josecelano opened this issue Jun 5, 2020 · 1 comment

Comments

@josecelano
Copy link

josecelano commented Jun 5, 2020

I'm trying to find a formula to draw something like this with Gnofract 4d:

image

It uses a different color for each period length when a period is detected. I've seen a formula called DirectOrbitTraps but this is what I get:

image

By the way, I do not know if this is the right place to ask for help regarding the formula language.

I want it because I have implemented a small program to do that and I want to confirm if I'm doing it right. This is the result using my program:
image

@edyoung
Copy link
Member

edyoung commented Dec 16, 2020

Hi @josecelano - sorry I did not see this earlier. Unfortunately the method used to detect periodicity is not exposed to the coloring algorithm today so there isn't a way that I can think of to leverage the periodicity detection that Gnofract 4D does.

You could probably do your own period detection in the coloring algorithm code by looking for values of z which are very close to previous ones. Unfortunately we don't have array support at this point so it might be a bit messy.

In general I would create issues in the fract4d/gnofract4d repository, they will be seen earlier.

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

No branches or pull requests

2 participants