Tuesday, July 04, 2023

three.js + CSG (Constructive Solid Geometry)

Constructive solid geometry - Wikipedia

An object is constructed from primitives by means of allowable operations, which are typically Boolean operations on setsunionintersection and difference, as well as geometric transformations of those sets

a new lib for three.js

gkjohnson/three-bvh-csg: A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh @GitHub

An experimental, in progress, flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh. More than 100 times faster than other BSP-based three.js CSG libraries in complex cases.

example: three.js geometry - csg

three-bvh-csg - Simple CSG (house - windows)


Constructive Solid Geometry - Three.js Tutorials @SBCODE.net


Sean-Bradley/THREE-CSGMesh: Constructive Solid Geometry @GitHub

This repo is originally forked from https://github.com/manthrax/THREE-CSGMesh


original solution / alternative, supports three.js until release 124 (current is 150+)

ThreeCSG/ThreeCSG.js at master · chandlerprall/ThreeCSG · GitHub

javascript - How create window, holes or subtract geometry in three.js - Stack Overflow

Wilt/ThreeCSG: CSG plugin for Three.js


discusssion

Constructive Solid Geometry (CSG) Support · Issue #16099 · mrdoob/three.js

EV Hydrofoil

for next-gen water EVs; can this tech reduce water and noise pollution?

Hydrofoil - Wikipedia

hydrofoil is a lifting surface, or foil, that operates in water. They are similar in appearance and purpose to aerofoils used by aeroplanesBoats that use hydrofoil technology are also simply termed hydrofoils. As a hydrofoil craft gains speed, the hydrofoils lift the boat's hull out of the water, decreasing drag and allowing greater speeds.


EV boards

Lift Foils | eFoil Electric Surfboard | Lift Surf Foils

"Flying over the water"

Lift Foils - YouTube


EV boats

Electric Hydrofoiling - The Future of Boats | Candela