Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1><a href="/mathics-threejs-backend">{{ site.title | default: site.github.repo
<section>
{{ content }}

<footer>&copy;2021-2022, The Mathics Team.</footer>
<footer>&copy;2021-2026, The Mathics3 Team.</footer>
</section>
</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -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).

Expand Down
2 changes: 1 addition & 1 deletion docs/primitives/point.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Draw points with the point size being canvas' size times `pointSize`.
}
);
</script>
- Mathics code:
- Mathics3 code:
```wl
Graphics3D[{
Red,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/primitives/index.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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".
Expand Down
Loading