This is the Linux app named csg.js whose latest release can be downloaded as csg.jssourcecode.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named csg.js with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
csg.js
DESCRIPTION
csg.js is a JavaScript library implementing constructive solid geometry (CSG) operations on polygonal meshes using BSP trees. With CSG, you build complex 3D shapes by combining primitives using Boolean operations like union, subtract, and intersect. The library focuses on clarity and correctness: its implementation is intentionally concise and readable so developers can understand the algorithm, while still correctly handling tricky edge cases such as overlapping coplanar polygons. A WebGL-based demo shows how two solids can be combined interactively in the browser, making it a great educational tool for learning CSG concepts. The API allows you to create primitives (cubes, spheres, etc.) and then combine or transform them programmatically, producing new mesh geometry for rendering or export. Because it is dependency-light and pure JavaScript, csg.js can be integrated into custom modeling tools, CAD-like apps, games, or procedural modeling pipelines running in the browser or Node.
Features
- CSG operations (union, subtract, intersect) on polygonal meshes using BSP trees
- Utility methods to construct primitives like cubes and spheres as starting solids
- Correct handling of edge cases such as overlapping coplanar polygons
- Pure JavaScript implementation suitable for browser or Node.js environments
- Demo and docs that visualize operations with WebGL for interactive learning
- Readable, educational codebase often used as a reference for CSG algorithms
Programming Language
JavaScript
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/csg-js.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.
