A website that generates random math equations with random numbers using the LaTeX formatting & Jimp for image manipulation.
- Clone the repository
git clone https://github.com/metamethods/funny-math.git
- Install dependencies
- Build the project
- Profit (The build will be in the
dist
folder)
- Create a new file in
./expressions
directory with the name of your expression set i.e.pemdas.toml
- Add the information to the file in the following format:
[information]
name = # Name of the expression set
description = # Description of this expression set
author = # Your name
title = # The Actual title that is display when generating a new expression
- Add the expressions to the file in the following format:
Note: To add placeholders into the expression, use the following format:
\Box
. All\Box
instances will be replaced with numbers from0 - 25
. If you would like a negative number, use-\Box
instead.
[[expressions]]
expression = # The expression in LaTeX format
todo = # What the answer is supposed to be expressed as (NOT REQUIRED)
- Create a pull request with your changes, and I'll happily merge it in! (if its good enough)
All contributions are welcome, just create a pull request with your changes, and I'll review it as soon as I can!