This repository contains solutions and resources for the CS1120 Problem Set 1: Making Mosaics. The goal is to construct a photomosaic—an image composed of smaller images arranged to recreate the ori[...]
- Language: Python
- Working solution:
photomosaic-2025-03.py - Tile set: Original assignment uses the
dalidirectory of small photos as input. There are several other directories for tiling options available in the repo from other photomosaic expe[...]
Full details and requirements for the assignment are described in:
ps1/cs1120-Problem-Set-1-Making-Mosaics.html and
index.shtml (original assignment)
If you want to make the effort to make them a viewable webpage:
Open up the file and Download it to your computer then open it in your browser.
Double-click it, or right-click and choose “Open with → Browser” (Chrome, Firefox, etc.). That’ll render the webpage immediately.
-
Ensure you have Python installed.
-
Place
photomosaic-2025-03.pyin your working directory. -
Make sure the
dalidirectory of tile images is present as required by the script. -
Run the main file with:
python photomosaic-2025-03.py
The script will assemble a photomosaic using the provided inputs.
- See the assignment link above for detailed collaboration policy and submission instructions.
Note: If you need more information about the problem set, consult the HTML assignment file linked above.
In doing research on this project, I ran across Sameep Tandon's (Sameep Tandon on GitHub) photomosaic creator. It's one of the better photomosaic generators I've fou[...]
