Skip to content

There is no page for EPSILON on the reference #811

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

Closed
villares opened this issue May 31, 2020 · 4 comments
Closed

There is no page for EPSILON on the reference #811

villares opened this issue May 31, 2020 · 4 comments
Assignees

Comments

@villares
Copy link

Issue description

There is an EPSILON constant in the language, but no reference to it on the docs.

URL(s) of affected page(s)

https://processing.org/reference/

Proposed fix

Let's talk about EPSILON, a very small number.

Here an example of use from Golan Levin:
https://github.com/golanlevin/Pattern_Master/blob/cbc80dbbb480336e64f6e98b21ec1674050ee78a/pattern_master/F04.pde

@jeremydouglass
Copy link
Contributor

Interesting. Only five constants have their own reference pages -- the four PIs, plus TAU. Other than EPSILON, are there any other constants that you think should have reference pages?

@villares
Copy link
Author

villares commented Jun 1, 2020

I'm not sure, I just found out about EPSILON today, reading Golan's code :D

That's a good question! Most other constants I can remember are documented in the context of the methods in which they usually work as selectors.

@jeremydouglass
Copy link
Contributor

The tricky thing about EPSILON is it is an arbitrary value -- searching the Processing source it looks like it is mainly used for internal implementation of DXF export and for approximating a 0-length vector in P3D rotation? It isn't private, but I wonder what a reference for it would even say.

@REAS
Copy link
Member

REAS commented Jun 2, 2020

What goes in the HTML Reference and what remains only in the Javadoc is an ongoing discussion. I don't think EPSILON should have a page right now, but let's leave this open to see if others add opinions.

@REAS REAS self-assigned this Jun 2, 2020
@REAS REAS closed this as completed Jun 7, 2020
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

3 participants