0.0.6 • Published 11 months ago

gplates v0.0.6

Weekly downloads
-
License
GPL-2.0-only
Repository
github
Last release
11 months ago

gplates-js

For now, this package is only used by GPlates App to reconstruct points on the client side.

Code Example

Assume point(lon:0.562344, lat:10.8345) has a plate ID 801, reconstruct the point back in time to 50Ma.

import { RotationModel } from 'gplates'

let rotationModel = await RotationModel.loadRotationModelAsync(
  'https://gws.gplates.org/rotation/get_rotation_map',
  'MERDITH2021'
)
console.log(rotationModel.rotate({ lat: 10.8345, lon: 0.562344 }, 801, 50))

This package is a part of AuScope funded project GPlates.

0.0.3

12 months ago

0.0.2

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.6

11 months ago

0.0.1

1 year ago