Skip to content

JonSteinn/GraphicsProblemGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics Problem Generator

Generates random computer graphics math problem .tex files.

Problem types

  • 2d collision (point and line)
  • Camera translation
  • Lighting (Phong lighting, single light)
  • Rasterization
  • Bezier curves
  • Window to viewport mapping
  • Clipping

How to run

In the root directory:

py src/make_all.py

or

py src/make_all.py 25

if you want a specific number of problems of each type (in this case, 25). The default is set as 5. You can also use the bat/bash scripts which accept the optional count argument as well. This will produce .tex output in the directory ./tex/out/.

Tests

The tests are mostly aimed at the solvers and partially the generators. There are scripts in the root folder to run them (which should be run from the root).

About

Randomly generated math problems for graphics problem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages