PortLab

Management of web portals dedicated to research projects

The three.js library

func3d is built on three.js, the reference JavaScript library for 3D graphics in the browser, and on its camera control OrbitControls. Here is why it was chosen, how it is used in the site and which developments it opens up for research projects.

three.js in short

three.js wraps WebGL (the GPU-accelerated graphics API available in every browser) in an object scene: geometries, materials, lights, cameras. It is a mature open source project, with a very large ecosystem of add-ons and examples, and is the de facto standard for 3D on the web.

OrbitControls is the official add-on for orbital exploration: rotation around a target, wheel zoom, pan; it is the natural interaction model for data inspection (unlike the "first person" controls designed for games).

How they are used in the site

Why it pays off

Possible developments in research projects

Keywords: three.js, WebGL, OrbitControls, 3D rendering, WebGPU, scientific visualisation

Moreno Comelli, CNR-IFAC, 2022-2026