You can use this form to upload additions or improvements to the table of spherical codes. Uploads are processed in the background in the order in which they arrive. Within an upload, files are taken in order of dimension, with larger codes first, so a code that a larger code in the same upload makes redundant is not added. After uploading, you will get a private link showing the result for each file.
References cannot be checked automatically, so accepted codes are labeled “Uploaded by anonymous internet user, 2026.” until they are reviewed. Please provide either a reference to a paper (by you or others) or your name, so that you can be credited. Please also give an email address so we can contact you; it will not be shown publicly. Your reference may be replaced if we learn of an earlier reference, or if the code has not been optimized to at least twelve digits, and it may be edited for style. Minimal polynomials are added only by the maintainers; if you know one, mention it in the reference field.
You can upload up to 10,000 files at once, individually or in .zip or .tar archives (at most 256 MiB per upload and 8 MiB per file). For automated or larger uploads, ask for an API token.
Spherical codes should be described by plain text files with UTF-8 encoding. Each line specifies a single point, with coordinates separated by commas (at most 128 characters per coordinate). Blank lines, lines containing text, and lines consisting only of brackets are ignored. Brackets around a point, a trailing comma, and exponents such as 1.5e-3 or 1.5*^-3 are allowed. For example, here are the vertices of a regular octahedron in three dimensions:
1.0,0.0,0.0 0.0,1.0,0.0 0.0,0.0,1.0 -1.0,0.0,0.0 0.0,-1.0,0.0 0.0,0.0,-1.0
The dimension must be from 3 to 32, and the number of points must be greater than twice the dimension and at most 1024. A code is added if its cosine, rounded up to twelve decimal places, is smaller than the current value for that dimension and number of points, including values derived from other entries. Accepted codes are stored and served as unit vectors in double precision.