Cardinal3D is the starter codebase that was previously used for programming assignments in Stanford CS248A: Computer Graphics. Beginning with the winter 2026 instantiation of the course, the course moved on to a new set of assignments, but we are leaving these projects online for the general public to try. Stanford students taking CS248A should refer to website of the current course offering.
For everyone else, happy graphics programming!
Please see the following handouts for two programming assignments based on this codebase:
Please see the Cardinal3D Wiki that describes the requirements of the assignments in detail. On that page you will find all the details about how to use the starter code, what you need to implement, and tips/guidelines for implementing it.