Vessel.js is a JavaScript library for conceptual ship design with an object-oriented paradigm. Vessel.js represents the vessel as an object, which is used to simulate different functionalities and behaviors. Currently, the library includes methods for hydrostatic, dynamics and stability calculations.
The library is developed by Ship Design and Operation Lab at Norwegian University of Science and Technology (NTNU) in Ålesund.
Dowload the latest version here:
Import Vessel.js in html by using the following script:
import * as Vessel from "../build/vessel.module.js"
When contributing, fork the repository and send pull requests with your commits. If your modifications are only to files related to examples and you have pull request authorization, you can approve them by yourself. If not, then wait for review and approval by the development team.
You are also welcome to create issues reporting bugs or suggesting improvements and features for development.
Vessel.js tutorials are available on the ObservableHQ notebook collection. Don't know where to start? Try the learning guide.