Skip to content
COMP 523.002 · Team C

COMP 523.002 · Team C · Fall 2026

Optical Design Tool Frontend

A cross-platform front-end for LieOptics that lets optical engineers, researchers, and students interactively design lens systems, run analytical aberration analysis, and visualize results without writing code.

Project introduction

Cross-platform interactive GUI for analytical optical lens design and aberration analysis.

This project is a front-end for an optical lens design tool. The backend, LieOptics, is a lightweight Python package we've already built that computes optical aberration coefficients analytically, using Lie group and Hamiltonian methods instead of traditional ray tracing. That approach makes it dramatically faster. It has over 1000x speedup on a simple camera lens in our benchmarks, and it makes principled lens design accessible. Designers can dig into aberration pattern analysis that no other tool offers, giving them real guidance during design instead of the trial-and-error process most lens design still relies on. What's missing is a way to actually see and use any of this. That's why we are looking forward to an front-end.

The backend is still a prototype, but it covers the essential APIs: defining lens systems (radius, thickness, glass index per element), analyzing how rays focus through them, running optimization (e.g., differential evolution over lens parameters) to improve performance, and generating spot diagrams that any optics engineer can read.

Right now, a designer has to write code to run any of these functionalities. The goal of this project is a cross-platform application that lets an end user, such as an optical engineer, researcher, or student, interactively define a multi-element lens system, run aberration analysis and optimization, and visualize the results (spot diagrams, aberration coefficients, phase-space plots) without touching code. We're picturing an Electron or browser-based app with a form/canvas-style UI for building lens systems, talking to the existing Python backend through an API layer, and rendering interactive plots of the results, though we're open to a better framework for bridging the two if one fits better.

The target users are researchers and students in optics who want a lightweight, open-source alternative to commercial tools like Zemax or CODE V for exploratory lens design, with access to performance insights that only our model provides. The team's job is the front-end and a thin API layer connecting to the existing backend. We will provide the backend's core computational code, in a stable state. The team does not need to modify the backend.

Interactive Lens System Builder

Define multi-element lens systems with curvature radius, thickness, and glass index per element via an intuitive form/canvas interface.

Analytical Aberration Analysis

Generate spot diagrams and analytical aberration coefficients backed by LieOptics with >1000x speedup over ray tracing.

Optimization & Visualization

Run differential evolution optimization over lens parameters and inspect phase-space plots and performance insights without touching code.

Built withTypeScriptReactElectronPythonLieOpticsFigma

Contact

One click reaches the entire development team.

Email the entire development team

sarathy@unc.edu, avipatel@unc.edu, lganesha@unc.edu, psushant@unc.edu

Email all 4 members

Development team

Development team contact information
NameRoleEmail
Sarathy SelvamSoftware Engineer, Tech Leadsarathy@unc.edu
Avi PatelSoftware Engineeravipatel@unc.edu
Lakshin GaneshaSoftware Engineerlganesha@unc.edu
Sushant PotuSoftware Engineerpsushant@unc.edu

Client

Client contact information
NameTitleOrganizationEmail
Haosheng ShiClient & Optical ResearcherLieOptics & UNC Department of Computer Sciencehaosheng@cs.unc.edu

Instructors

Instructor contact information
NameTitleOrganizationEmail
Paul StottsInstructor, COMP 523UNC Department of Computer Sciencestotts@cs.unc.edu
Louie LuTeaching AssistantUNC Department of Computer Sciencelouielu@cs.unc.edu

Schedule

Regular team working meetings, standups, and client meetings. All times are Eastern Time.

Schedule of regular meetings
MeetingWhoCadenceTimeLocation
Team working meetingAll team membersWeekly, Saturdays1:00 PM–8:00 PM ETTODO: Sitterson Hall, Room TBD
Team standupAll team membersWeekly, Saturdays12:00 PM–12:30 PM ETTODO: Video call (link in team channel)
Client meetingClient Manager, Project Manager, clientBiweekly, Thursdays9:00 PM–11:00 PM ETTODO: Video call (link in team channel)

Team rules

The working agreements every member of this team has committed to.

  1. Show up, or say so early

    Attend every scheduled team, client, and manager meeting. If you cannot make one, tell the team in the group channel at least 24 hours ahead and read the meeting journal entry afterward.

  2. Respond within 24 hours

    Any direct question in the team channel gets a reply within 24 hours, even if the reply is only "seen, working on it." Silence blocks other people.

  3. Communicate blockers immediately

    If you are stuck for more than an hour, post about it. Asking early is not a failure; going quiet until the deadline is.

  4. All work goes through pull requests

    No one pushes directly to the main branch. Every change is a pull request reviewed and approved by at least one other team member before merging.

  5. Finish what you claim

    Only take an action item you expect to finish before the next meeting. If your estimate slips, say so at the next standup rather than at the deadline.

  6. Decisions are recorded

    Any decision that affects the team gets written into the meeting journal on this site the same day, so it does not get relitigated later.

  7. Follow Gitflow and enforce checks with hooks

    We use the Gitflow branching workflow. Pre-commit hooks check commit message style and code formatting (linting) on every commit, so broken style never reaches a pull request.

  8. Small commits in Conventional Commits style

    Each commit covers one task and follows the Conventional Commits format. We never commit secrets such as API keys or passwords.

  9. Track work on a Kanban board

    Every task lives on our Kanban board (GitHub Projects) and moves through To Do, In Progress, Review, and Done, so anyone can see what is blocked.

  10. Weekly progress report

    Every week, by 11:59 PM the day before our TA meeting slot, we post Progress, Plans, and Problems on this site, including what we tried and failed at, and email the TA the link.

  11. Use AI tools, and review what they produce

    We use AI tools for coding help, but review every suggestion instead of copy-pasting it. Written deliverables get significant human revision, and no sensitive information goes into an AI tool.

  12. Respect client confidentiality

    Nothing the client shares in confidence — data, documents, screenshots, credentials, participant information — appears on this public site, in the public repository, or in any public channel.

  13. Disagree in the meeting, commit after it

    Raise objections while the decision is being made. Once the team decides, everyone works with the decision until there is new information worth reopening it.

  14. Escalate as a team

    If a conflict or workload imbalance is not resolved within the team after one honest conversation, the Project Manager raises it with the faculty manager before it affects a deliverable.