![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.
npm install --save vr-viz
First import this component where you want to use it
import VRViz from "vr-viz"
Then just renders it
<VRViz />
Prop | Description |
---|---|
scene | Sets the 3D Scene (non mandatory) |
graph | Sets the graph specification |
Supported Visualizations
Charts
Maps
Diagrams
3D Cross Sectional View
3D Contour Map
3D Point Cloud
3D Force Directed Graph
3D TreeMap Plots
3D Contour Plot
3D Parametric Curve Plot
3D Surface Plot
3D Parametric Surface Plot
import React from 'react';
import VRViz from 'vr-viz';
const App = () => {
render() {
return (
<div className="App">
<VRViz
scene={
{
'sky': {
'style': {
'color': '#333',
'texture': false,
}
},
'lights': [
{
'type': 'directional',
'color': '#fff',
'position': '0 1 1',
'intensity': 1,
"decay": 1,
},
{
'type': 'ambient',
'color': '#fff',
'intensity': 1,
"decay": 1,
}
],
'camera': {
'position': '10.5 5.5 11',
'rotation': '0 0 0',
},
}
}
graph={
[
{
'type': 'SurfacePlot',
'style': {
'origin': [0, 6, 0],
'dimensions': {
'width': 10,
'height': 5,
'depth': 10,
},
},
'mark': {
'type': 'plane',
'position': {
'x': {
'domain': [0, 2 * Math.PI],
'steps': 50,
},
'y': {
'function': (x, z) => x * Math.sin(x) - z * Math.cos(z),
},
'z': {
'domain': [0, 2 * Math.PI],
'steps': 50,
}
},
'style': {
'fill': {
'function': (x, z) => x * z,
'color': ['#DB4437', '#0f9d58'],
'opacity': 1,
},
}
},
'axis': {
'axis-box': {
'color': 'black',
},
'x-axis': {
'orient': 'bottom-back',
'ticks': {
'noOfTicks': 10,
'size': 0.1,
'color': 'black',
'opacity': 1,
'fontSize': 10,
},
'grid': {
'color': 'black',
'opacity': 1,
}
},
'y-axis': {
'orient': 'bottom-back',
'ticks': {
'noOfTicks': 10,
'size': 0.1,
'color': 'black',
'opacity': 1,
'fontSize': 10,
},
'grid': {
'color': 'black',
'opacity': 1,
}
},
'z-axis': {
'orient': 'bottom-back',
'ticks': {
'noOfTicks': 10,
'size': 0.1,
'color': 'black',
'opacity': 1,
'fontSize': 10,
},
'grid': {
'color': 'black',
'opacity': 1,
}
}
}
}
]
}
/>
</div>
);
}
}
export default App;
FAQs
3D data visualization in VR and web
We found that vr-viz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.