Skip to content

Generates random math problems with the Cache-Control header to be no-store

Notifications You must be signed in to change notification settings

metamethods/funny-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funny-math

A website that generates random math equations with random numbers using the LaTeX formatting & Jimp for image manipulation.

Building

Prerequisites

  1. Clone the repository
git clone https://github.com/metamethods/funny-math.git
  1. Install dependencies
  2. Build the project
  3. Profit (The build will be in the dist folder)

Contributing

Adding a expression

  1. Create a new file in ./expressions directory with the name of your expression set i.e. pemdas.toml
  2. 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
  1. 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 from 0 - 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)
  1. Create a pull request with your changes, and I'll happily merge it in! (if its good enough)

Other Contributions

All contributions are welcome, just create a pull request with your changes, and I'll review it as soon as I can!

About

Generates random math problems with the Cache-Control header to be no-store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published