300.57K
total weekly downloads
56 packages
@geoblocks/base
Geoblocks base
@geoblocks/cesium-audio
This package spatializes a sound located on the globe, using the [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Web_audio_spatialization_basics): the audio listener follows the CesiumJS camera, so the panner node receives t
@geoblocks/cesium-binoculars
@geoblocks/cesium-bvh
Rays and nearest-point queries against a triangle soup: the nearest hit along a ray, whether any lies within a distance, how many, every one, and the closest triangle to a point; and, over line segments, those near a point or in a box. Flat typed arrays (
@geoblocks/cesium-compass
Note: the code is based on the Compass class from [TerriaJS](https://github.com/TerriaJS/terriajs/blob/master/lib/ReactViews/Map/Navigation/Compass.jsx)
@geoblocks/cesium-compass-bar
```bash npm i --save @geoblocks/cesium-compass-bar ```
@geoblocks/cesium-drone
An arcade drone for CesiumJS: it stays level, holds its altitude when the sticks are released, slides along the terrain when it touches it slowly, stops against slopes steeper than 45 degrees, and crashes when it runs into the terrain fast: its velocity a
@geoblocks/cesium-first-person-mode
[Demo](https://geoblocks.github.io/cesium-helpers/cesium-first-person-mode.html)
@geoblocks/cesium-flyto
This package provides a camera mode for CesiumJS: on double-click, the camera flies toward the clicked position (terrain or 3D Tiles) along the line of sight, and stops at a given distance from it, with a cinematic motion blur and depth of field during th
@geoblocks/cesium-input
The keyboard, the mouse buttons and a gamepad read into named actions, from bindings that are plain data, so that they can be remapped and saved. Camera modes, the walk, the first-person look or the drone, read their intent from it on each tick, and never
@geoblocks/cesium-iso
An isometric view for CesiumJS, as in a game: an orthographic camera at a fixed pitch, looking from a corner.
@geoblocks/cesium-obstacles
Collision for camera modes: the obstacles ahead of a mover, read from the depth of the last frame or cast in triangles known on the CPU, and the step to take toward them, in full, along them, or none. Used by `cesium-walk` and `cesium-drone`.
@geoblocks/cesium-overlay
An HTML layer over a CesiumJS scene, and pins: elements kept on a point of the world as the camera moves. A tool's line and label, a character's speech bubble, a place's card: plain HTML and CSS, crisp at any zoom, laid over the canvas.
@geoblocks/cesium-path-flyover
A camera animation that follows a GPX or GeoJSON track over the terrain, with the track and a moving marker drawn in the scene.
@geoblocks/cesium-post-process
Screen-space effects for any CesiumJS scene, each one a post-process stage that exists only while the effect is active.
@geoblocks/cesium-sphere-camera
This package provides a helper for managing a camera in a CesiumJS application that orbits around a sphere.
@geoblocks/cesium-view-cube
Which way north and up are, at any angle, drawn in SVG from the camera's view matrix, orthographic, the labels always upright: a cube turning with the camera, its faces named by the direction they face (N, E, S, W, top, bottom), or, styled by CSS, ParaVie
@geoblocks/cesium-walk
This package provides a camera mode for CesiumJS that lets the user walk around the scene with the keyboard or a gamepad. The camera is kept at a fixed height above the terrain.
@geoblocks/d3-helper
d3 helper classes
@geoblocks/d3profile
Geoblocks d3profile
@geoblocks/edittrack
Geoblocks edittrack
@geoblocks/elevation-profile
A web component to display an elevation profile of a MultiLineString.
@geoblocks/ga-search
A web component element to access the [GeoAdmin search API](https://api3.geo.admin.ch/services/sdiservices.html#search).
@geoblocks/ifc-gltf
Function to import IFC file and convert it to gLTF
@geoblocks/legacylib
## Summary