The objective of this project is to implement functionally a collection of image generators and image filters in order to make procedural generation of textures. The code is broken down into two distinct parts:
- A set of image generators
- A set of image filters
- The
make
command - canvas package
- jest package
- browserify package
- Standard JS libraries
Open the image.js file in the src directory. Delete all "/.../" comments between line 25 and 629. Choose a generator and / or filters and choose a template to compute the image. Then go to the root of the project directory and run
$ make exe
to produce the image as canvas.png in the project root directory
else you can run
$ make gen
to produce a page with the image at public/index.html
- Explication: a set of noise generator like Perlin noise or Worley noise
- Path from root:
./src/noiseGenerators.js
- Explication: a set of tiling generator like chessBoard or Voronoi patterns
- Path from root:
./src/tilingGenerators.js
- Explication: a set of color gradient
- Path from root:
./src/colorMapGenerator.js
or./src/colorMapExamples.js
- Explication: a set of filters like a 3d-filter, a zoom filter or even image compositions filters
- Path from root:
./src/filter.js
At the root of the repository, run
$ make test
-
Go to the root of the repository
-
To clean the repository to its initial state, run
$ make clean
- Alexandre Choura
- Léo Guerin
- Lucas Marais
- Jean-François Sornay