2 Minutes With 鈥 is a series of short features to introduce us to the passions and interests of 杨贵妃传媒视频 students on and off campus.聽
When he was in high school in his hometown of Phoenix, Arizona, Justin Williamson 鈥22 spent lunch periods asking his physics teacher all kinds of questions about how the world works. Now, his curiosities about physics and space have culminated in his first big 3-D graphics project.
With the help of 杨贵妃传媒视频鈥檚聽, the聽听补苍诲听聽double major finished a long-running attempt to simulate two galaxies colliding. Supported by alumni and other donors, the fund helps students access summer internships, self-directed research and projects, and more opportunities that enhance their learning experiences.
The simulation Williamson completed over winter break is just one iteration of a project he has been tinkering with for about five years. His earlier version of the simulation depicted between 100 and 200 stars. That鈥檚 grown to about 50,000 stars in a collision that takes place over 750 million years. More stars mean more computing power and, well, more skill. The difference lies in programming on the CPU (central processing unit) versus the GPU (graphics processing unit).
鈥淢ost programs run on the CPU, which is good at running serial calculations, but not 50,000 of the same calculation,鈥 Williamson said. 鈥淏ut the GPU is good at that kind of calculation. It鈥檚 very different because you have to think about everything happening at the same time, rather than sequenced.鈥
Help from the ELF
That鈥檚 where the stipend comes in. Williamson had been working with the Career Center to hunt down internships when they sent an email detailing the ELF. This was Williamson鈥檚 first time programming on the GPU, so some extra research, which comes with added expenses, was necessary to achieve his goal.
鈥淸The fund] allowed me to get books very easily,鈥 Williamson said. 鈥淎lso, a little bit of hardware for my computer to make it run better. I don鈥檛 think I would鈥檝e finished it over the break if I hadn鈥檛 had the stipend.鈥
Programming a simulation like this can be a gamble. Williamson put faith in his calculations. He recalled the final moment of truth: letting the simulation run overnight.
鈥淚 didn鈥檛 know if it was going to work the night before or not,鈥 he said. 鈥淭hat day I encountered two or three subtle bugs. Once the calculation started, all the stars would instantly disappear. So, it all could鈥檝e been for naught. But I was amazed at what was happening when I actually could see the simulation.鈥
A needed assist
It wasn鈥檛 just the financial boost that helped Williamson achieve his goal. His passion for programming was met with support from his past.
鈥淚鈥檓 so thankful to my high school physics teacher,鈥 Williamson said. 鈥淚 spent two or three hours on the phone with him trying to fix my math.鈥
The successful simulation is a testament to Williamson鈥檚 growing skills in computer programming, but it鈥檚 anything but the end. He hopes to eventually simulate galaxies of one million stars. But those are calculations for another day.
Watch the galaxies colliding聽.
Justin Williamson
Class Year: 2022
Major: Computer Science and French
Hometown: Phoenix