![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@mathicsorg/mathics-threejs-backend
Advanced tools
A node.js/Javascript library for rendering Mathics (and eventually Wolfram-Language) Graphics3D objects.
This can be used in Mathics front ends like Mathics-Django 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.
import drawGraphics3D from 'mathics-threejs-backend/src/index.js';
drawGraphics3D(
document.getElementById('main'),
{
elements: [
{
type: 'sphere',
color: [1, 1, 1],
coords: [
[[0, 0, 0]]
]
}
],
axes: {},
lighting: [
{
type: 'ambient',
color: [1, 1, 1]
}
],
viewpoint: [2.6, -4.8, 4.0]
}
)
Lots of other examples can be found in the test directory of this repository.
Install an HTTP server and run it:
$ npm install http-server # Do this only one time.
...
added 30 packages from 40 contributors and audited 30 packages in 1.595s
...
found 0 vulnerabilities
The above only needs to be done once to set up an HTTP server to use. If you already have an HTTP server running that is also able to browse local files in this repository, then you probably don't need to do this.
Otherwise, start the HTTP server that was just installed:
$ ./node_modules/http-server/bin/http-server # Do this once per session
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
...
Hit CTRL-C to stop the server
Finally, look at a file that you want to see rendered, e.g. http://127.0.0.1:8080/test/axes/axes.html
See the wiki for the JSON API description for Graphics3D Primitives.
FAQs
Mathics 3D Graphics backend using three.js
The npm package @mathicsorg/mathics-threejs-backend receives a total of 15 weekly downloads. As such, @mathicsorg/mathics-threejs-backend popularity was classified as not popular.
We found that @mathicsorg/mathics-threejs-backend demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.