npm i kmap-solvee
<script type="module">
import 'kmap-solvee/kmap-solvee.js';
</script>
<kmap-solvee operations="exponential">e^x+e^{2x}=e</kmap-solvee>
No installation required. Find a complete example webpage here.
<script type="module">
import {BubbleNavigation} from 'https://cdn.jsdelivr.net/npm/kmap-solvee@0.9.5/+esm'
window.customElements.define('kmap-solvee', BubbleNavigation);
</script>
<kmap-solvee operations="polynomial" solutions="-1,0,1" strategy="polynomial" hints='[
{
"match": "_x^4+_x^2=0",
"operation": "substitute",
"message": "Kann man mit Substitution lösen, schneller gehts mit x² Ausklammern und dem Satz vom Nullprodukt"
}]'>2x^4-2x^2=0</kmap-solvee>
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
npm start
To run a local development server that serves the basic demo located in demo/index.html