Samuel Lin

Hi, I am a first-year student in UBC's Bachelor of Science program, aiming to major in Computer Science.

Some revelent courses I am taking this year are:

- CPSC 110 - Computation, Programs, and Programming

- CPSC 121 - Models of Computation

- CPSC 210 - Software Construction

- STAT 200 - Elementary Statistics for Applications

- MATH 221 - Matrix Algebra

- MATH 200 - Calculus III

- MATH 215 - Elementary Differential Equations I


I am interested in engineering and science. I am working on:

- Computer vision using Python

- Animations using Javascript

- CAD models using Onshape

Most of my coding projects can be found on and my CAD models are on

Python Projects

Ransac Applied to an Pupil

Pupil Detection with RANSAC

This project fits a circle to the circumference of the pupil for each frame of the video using Random Sample Consensus (RANSAC).

This project can be found on:

Color Segmentation

This project reduces the number of colors in an image by clustering similar similar colors together and replacing them with a weighted average.

This project can be found on:

Edge Detection

This project detects edges in images and compares different edge detection methods.

This project can be found on:

Image Blending

Image blending is used to blend the connecting area of two images so that there are no visible seams.

This project can be found on:

Misty Water Effect

This project creates the Misty Water Effect.

This project can be found on:

Sorted Map of Points

Determining Earthquake Hotspots with K-means Clustering

This project is about sorting a group of points into an inputed amount of sections.

This project can be found on:

Javascript Projects

I had been volunteering as a teaching assistant for coding classes at City Center Community Center from 2021 to 2023 on a weekly basis. I would help teach students Javascript and design and lead programming questions and projects. Here are a few animations I made for Coding Class as a teaching assistant:





CAD Models

These are a few CAD models I have made. My CAD models could be found on: