JS library to procedurally generate starships. Based on a procedural generation monthly challenge entry from Reddit by green_meklar, used with permission.
# npm
npm install starshipwright --save
# yarn
yarn add starshipwright
import { generateShip, generateFactionRandomizer } from 'starshipwright';
...
const faction = generateFactionRandomizer("factionRandomSeed");
const ship = generateShip(faction, "shipRandomSeed"); // HTML Canvas
Returns a randomizer initialized with the specified seed.
Returns a canvas that contains the generated ship.
Check it out here.