diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6ddfd864..bec9bb47 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,13 +21,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} - name: Perform CodeQL analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml index 78898f54..e60fa633 100644 --- a/.github/workflows/gh-release.yml +++ b/.github/workflows/gh-release.yml @@ -12,14 +12,14 @@ jobs: steps: # Checkout the exact commit tagged on the release. - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.release.target_commitish }} - name: Use NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x # If we can't build the release will be canceled. - name: Install dependencies and build diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 22c94a4f..4d09d62f 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -11,7 +11,7 @@ jobs: steps: # Checkout the exact commit tagged on the release. - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.release.target_commitish }} @@ -20,10 +20,10 @@ jobs: uses: manovotny/github-releases-for-automated-package-publishing-action@v2.0.1 - name: Use NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: always-auth: true - node-version: 18.x + node-version: 20.x registry-url: https://registry.npmjs.org - name: Install dependencies and build diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 39edb916..300dd4e5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Install Puppeteer dependencies if testing locally if: ${{ env.ACT }} diff --git a/README.md b/README.md index 1f05112c..582c0a07 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A JavaScript library for rendering [Mathics3](https://mathics.org) (and eventually Wolfram Language) [Graphics3D](https://reference.wolfram.com/language/ref/Graphics3D.html) objects. -This can be used in Mathics3 front ends like [Mathics-Django](https://pypi.org/project/Mathics-Django/) and [Symja](https://github.com/axkr/symja_android_library) to handle 3D graphics. The code may also be useful as a guide for other kinds of Mathics/WL frontends to other kinds of JavaScript graphics engines. +This can be used in Mathics3 front ends like [Mathics3-django](https://pypi.org/project/Mathics3-django/) and [Symja](https://github.com/axkr/symja_android_library) to handle 3D graphics. The code may also be useful as a guide for other kinds of Mathics3/WL frontends to other kinds of JavaScript graphics engines. ## Example: ```js diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index ea8f0cd2..88b05801 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -20,7 +20,7 @@

{{ site.title | default: site.github.repo
{{ content }} -
©2021-2022, The Mathics Team.
+
diff --git a/docs/index.md b/docs/index.md index 32247a36..b62e7ae4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,8 +1,8 @@ Welcome to the mathics-threejs-backend documentation and examples! -mathics-threejs-backend is a JavaScript library for rendering [Mathics](https://mathics.org) (and eventually Wolfram Language) [Graphics3D](https://reference.wolfram.com/language/ref/Graphics3D.html) objects. +mathics-threejs-backend is a JavaScript library for rendering [Mathics3](https://mathics.org) (and eventually Wolfram Language) [Graphics3D](https://reference.wolfram.com/language/ref/Graphics3D.html) objects. -This can be used in Mathics front ends like [Mathics-Django](https://pypi.org/project/Mathics-Django/) and [Symja](https://github.com/axkr/symja_android_library) to handle 3D graphics. The code may also be useful as a guide for other kinds of Mathics/WL front-ends to other kinds of JavaScript graphics engines. +This can be used in Mathics3 front ends like [Mathics3-Django](https://pypi.org/project/Mathics-Django/) and [Symja](https://github.com/axkr/symja_android_library) to handle 3D graphics. The code may also be useful as a guide for other kinds of Mathics/WL front-ends to other kinds of JavaScript graphics engines. See [our gallery](examples). diff --git a/docs/primitives/point.md b/docs/primitives/point.md index a1fffcb0..31ab8bc8 100644 --- a/docs/primitives/point.md +++ b/docs/primitives/point.md @@ -85,7 +85,7 @@ Draw points with the point size being canvas' size times `pointSize`. } ); -- Mathics code: +- Mathics3 code: ```wl Graphics3D[{ Red, diff --git a/package.json b/package.json index 79eb67bb..0a6e0f68 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "fast", "easy" ], - "author": "The Mathics Team", + "author": "The Mathics3 Team", "license": "GPL-3.0", "bugs": { "url": "https://github.com/Mathics3/mathics-threejs-backend/issues" diff --git a/src/primitives/index.js b/src/primitives/index.js index 792fccff..47ca67f5 100644 --- a/src/primitives/index.js +++ b/src/primitives/index.js @@ -1,7 +1,7 @@ // @ts-check // This file exports implementations using three.js of Mathematica and -// Mathics Graphics3D primitives like "Sphere", or "Cuboid, etc. +// Mathics3 Graphics3D primitives like "Sphere", or "Cuboid, etc. // A full list of primitives that this might grow to can be found at: // https://reference.wolfram.com/language/ref/Graphics3D.html @@ -68,7 +68,7 @@ // objects, like Point, Line, Arrow, or Polygon which are extended // into 3D. -// Also note that in contrast to he Mathematica/Mathics name, we +// Also note that in contrast to he Mathematica/Mathics3 name, we // downcase the first letter of the corresponding name. For example, // we use the function name "sphere" and "uniformPolyhedron", not // "Sphere" and "UniformPolyhedron".