Lithium is a 3D model viewer based on electron, react, three.js, react-three-fiber & material-ui.
The name of this project comes from the 3 main packages this project relies on: electron
, three.js
and material-ui
. The lithium
metal is a three-electron-material (in its neutral form).
Lithium currently supports the following file formats:
The 3D view supports camera gestures, as well as item selection.
The slider on the right enables to clip the parts with an horizontal plane.
Download the latest release for Windows, Mac & Linux from the releases page.
For Linux, the app can also be installed from Snapcraft.
To clone and run this repository you'll need Git, Node.js and yarn installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/dartignan/lithium
# Go into the repository
cd lithium
# Install dependencies
yarn install
# Run the app
yarn start
This project was bootstrapped with Create React App.
This project contains the following debug configurations for VSCode:
Configuration | Description
- | - Electron: Main | Runs the app and attachs to the main (node) process. Electron: Renderer | Attachs to the renderer (chrome) process. Electron: All | Runs the app and attachs to both main and renderer processes.
Electron Builder is used to generate installation packages for Windows, MacOS and Linux.
GitHub Actions are set up using Action Electron Builder.
Thanks to all the contributors of the packages used in this project, and the help provided on GitHub, Medium and StackOverflow.