{"schemaVersion":1,"id":"mafs","name":"Mafs","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/mafs/","officialUrl":"https://github.com/stevenpetryk/mafs","isCatalog":false,"description":"Interactive math React components: they connect coordinates, equations, and user input to build visual mathematical applications.","tasks":["Create an interactive mathematical explanation","Connect React components to interactive points or controls and test graph changes"],"categoryIds":["frontend"],"subcategoryIds":["frontend.charts"],"tags":["Mafs","chart","Development"],"aliases":["stevenpetryk/mafs","mafs"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Create an interactive mathematical explanation","chooseWhen":["Create an interactive mathematical explanation","Connect React components to interactive points or controls and test graph changes"],"considerInstead":[],"requirements":["Define a constraint returning a permitted point without side effects; with dynamic point counts, follow React rules of hooks."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Transforms pass the original untransformed point to constrain and transform the result; account for the coordinate system."],"faq":[{"question":"What can you use for free in Mafs?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Mafs?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Mafs?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Mafs?","answer":"Define coordinates, the equation, and adjustable visual example parameters. Connect React components to interactive points or controls and test graph changes. Check the chart with real and empty data."},{"question":"Can a Mafs movable point use keyboard control and a constrained path?","answer":"Movable points support dragging and keyboard movement. useMovablePoint supports horizontal/vertical constraints or a function mapping an original point to a permitted position, such as snapping to integer coordinates. constrain may run multiple times during arrow-key movement and must be side-effect free. For a dynamic number of points, use MovablePoint directly."}],"related":[],"sources":["https://github.com/stevenpetryk/mafs","https://raw.githubusercontent.com/stevenpetryk/mafs/HEAD/README.md","https://raw.githubusercontent.com/stevenpetryk/mafs/HEAD/LICENSE","https://www.open-source-tools.com/","https://mafs.dev/guides/interaction/movable-points"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Create an interactive mathematical explanation.","inputs":["Data, units, and the visualization question.","The application's container and UI stack."],"steps":["Define coordinates, the equation, and adjustable visual example parameters.","Connect React components to interactive points or controls and test graph changes.","Check the chart with real and empty data."],"checks":["Scales and labels do not distort data.","Keyboard access, contrast, and an alternative representation are available."]},"sources":["https://github.com/stevenpetryk/mafs","https://raw.githubusercontent.com/stevenpetryk/mafs/HEAD/README.md","https://raw.githubusercontent.com/stevenpetryk/mafs/HEAD/LICENSE","https://www.open-source-tools.com/","https://mafs.dev/guides/interaction/movable-points"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Visualization library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/stevenpetryk/mafs","label":"Official source"},{"url":"https://raw.githubusercontent.com/stevenpetryk/mafs/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/stevenpetryk/mafs/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://mafs.dev/guides/interaction/movable-points","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}