![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.
@deck.gl/extensions
Advanced tools
@deck.gl/extensions is a collection of extensions for the deck.gl library, which is used for creating high-performance, WebGL-powered visualizations. These extensions provide additional functionalities such as data filtering, 3D terrain, and advanced rendering techniques.
Data Filtering
The DataFilterExtension allows you to filter data points based on a specified range. This is useful for visualizing subsets of data dynamically.
const { DataFilterExtension } = require('@deck.gl/extensions');
const layer = new ScatterplotLayer({
data: myData,
getPosition: d => d.coordinates,
getRadius: d => d.radius,
getColor: d => d.color,
extensions: [new DataFilterExtension({filterSize: 1})],
filterRange: [0, 100]
});
3D Terrain
The TerrainExtension allows you to overlay 2D tiles on 3D terrain, providing a more realistic visualization of geographical data.
const { TerrainExtension } = require('@deck.gl/extensions');
const layer = new TileLayer({
data: 'https://tile-server.com/tiles/{z}/{x}/{y}.png',
minZoom: 0,
maxZoom: 23,
tileSize: 256,
renderSubLayers: props => new BitmapLayer(props),
extensions: [new TerrainExtension({terrainImage: 'https://terrain-server.com/terrain.png',
terrainBounds: [west, south, east, north]})]
});
Advanced Rendering
The BrushingExtension allows for interactive data brushing, where users can highlight and filter data points within a specified radius.
const { BrushingExtension } = require('@deck.gl/extensions');
const layer = new ScatterplotLayer({
data: myData,
getPosition: d => d.coordinates,
getRadius: d => d.radius,
getColor: d => d.color,
extensions: [new BrushingExtension()],
brushingRadius: 1000,
brushingTarget: [longitude, latitude]
});
Three.js is a popular JavaScript library for creating 3D graphics in the browser. While it provides a lower-level API compared to deck.gl, it offers extensive functionalities for 3D rendering, including support for various geometries, materials, and lighting effects.
Leaflet is a widely-used open-source JavaScript library for interactive maps. It is more focused on 2D map visualizations and offers a variety of plugins for additional functionalities, such as heatmaps and marker clustering. Unlike deck.gl, it does not natively support WebGL-based 3D visualizations.
D3.js is a powerful JavaScript library for producing dynamic, interactive data visualizations in web browsers. It uses SVG, HTML, and CSS to bring data to life. While it is not specifically designed for 3D or map visualizations, it is highly flexible and can be extended to create complex visualizations.
deck.gl [v9.1.0-beta.3] - Jan 15 2025
FAQs
Plug-and-play functionalities for deck.gl layers
We found that @deck.gl/extensions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.