Skip to content

jinjinhe2001/MAT201B

Repository files navigation

MAT 201B

This repository is to share my work on the UCSB MAT201B course.

How to run

git clone --recursive https://github.com/jinjinhe2001/MAT201B.git
Move code folders to allolib_playground modules. And run ./run.sh xxx(code direction in allolib_playground)

Assignment 1

In Assignment 1, this program allow the user to organize the mesh vertices using keyboard interaction:

  • 1 key returns the points to the row/column positions of each pixel in the original image.
  • 2 key places each point in an RGB color space "Cube" according to its color.
  • 3 key builds an HSV color space "Cylinder" with the points.
  • 4 key organizes the points according to my aesthetic goals; I implemented a grid-based sand simulation!
video.mp4
sand.mp4

Assignment 2

In Assignment 2, I implemented a solar-like system that followed physics rules.

Single Star

Single.Star.mp4

Double Star

Double.Star.mp4

Assignment3

I created a 3D autonomous agent simulation with flocking. This system has some adjustable parameters and food attractors.

flocking.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages