Crates.io | lodestone_core |
lib.rs | lodestone_core |
version | 0.2.3 |
source | src |
created_at | 2021-09-19 19:53:58.257644 |
updated_at | 2021-09-19 19:53:58.257644 |
description | User friendly magnetic field calculations in Rust |
homepage | https://www.applied-magnetism.com/ |
repository | https://github.com/pdunne/magnet_rs |
max_upload_size | |
id | 453740 |
size | 193,712 |
Loadstone_Core is a Rust library for calculating the magnetic fields of any object or objects in 2D and 3D; along with any induced forces and torques.
This is a rewrite of a Python package pymagnet
:
Github, or
PyPi.
Add this to your Cargo.toml
:
[dependencies]
lodestone_core = "0.2"
This code uses analytical expressions to calculate the magnetic field due to arbitrary magnets.
Currently, only 2D features are available
Source code licensed under the Mozilla Public License Version 2.0
Documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.
This is a human-readable summary of (and not a substitute for) the license, adapted from CS50x. Official translations of this license are available in other languages.
You are free to:
Under the following terms:
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.