Skip to content

Question about the "prime number of iterations" #15

@marian-c

Description

@marian-c

Why is the prime number needed, what are the effects referenced in this comment?

Thank you

        // use a prime number of iterations to avoid aliasing effects

        for (var w = 0; w < 97; w++) {
          execute();
        }

// use a prime number of iterations to avoid aliasing effects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions