function launchShellFromConfig(event) {
  const shell = new Shell(shellFromConfig(shellSizeSelector()))
  const w = mainStage.width
  const h = mainStage.height

  shell.launch(
    event ? event.x / w : getRandomShellPositionH(),
    event ? 1 - event.y / h : getRandomShellPositionV()
  )
}
// Launches a shell from a user pointer event, based on state.config
Launches a shell from a user pointer event, based on state.config
Launches a shell from a user pointer event based on state . config
function launchShellFromConfig(event) {
  const shell = new Shell(shellFromConfig(shellSizeSelector()))
  const w = mainStage.width
  const h = mainStage.height
  shell.launch(
    event ? event.x / w : getRandomShellPositionH(),
    event ? 1 - event.y / h : getRandomShellPositionV()
  )
}
function launchShellFromConfig ( event ) { const shell = new Shell ( shellFromConfig ( shellSizeSelector ( ) ) ) const w = mainStage . width const h = mainStage . height shell . launch ( event ? event . x / w : getRandomShellPositionH ( ) , event ? 1 - event . y / h : getRandomShellPositionV ( ) ) }
Launches a shell from a user pointer event, based on state.config
Launches a shell from a user pointer event based on state . config