Skip to main content

Facebook twists time to make graphics easier to code with Flick

facebook flick new time unit for coding the wolfe macbook vr rift
Image used with permission by copyright holder
Facebook has a new creation: The Flick. And no, it’s not a fancy version of that annoying Facebook poke, it’s actually a new unit of time designed for coding video and other moving visual effects. Shared on GitHub on Monday, January 22, by Facebook’s Oculus division, a Flick is designed to simplify syncing videos and animations at multiple frame rates or monitor refresh rates and audio sample rates.

Currently, when designers create a visual in CGI, they use nanoseconds to time the visual. The problem? When you divide the most common frame or refresh rates into nanoseconds, the numbers can be infinitely repeating decimals or numbers that require several digits past the decimal. A Flick, which is a shortened name for a frame-tick, is designed so everything can be synced in whole numbers, no decimals required. Even when adjusting a graphic’s refresh rate from the standard options between 24hz and 120hz, measuring time in Flicks means using whole numbers.

Recommended Videos

Using Flicks could, in theory, simplify production of multiple types of moving content, including video, audio, moving graphics, and even video games. A Flick is 1/705,600,000 of a single second. Used for 24hz, 25hz, 30hz, 48hz, 50hz, 60hz, 90hz, 100hz and 120hz, Flicks allow developers to work with whole numbers when working with the frame duration and refresh rates. As the GitHub page states, a Flick allows developers to complete “timing work against the system high-resolution clock, which is in nanoseconds, but doesn’t get slightly out of sync when doing common frame rates.”

The development of the Flick also supports several of the most common audio sample rates, allowing developers to sync visuals and audio without using a rounded decimal number that could eventually leave the audio slightly off.

“When working with creative visual effects for film, television, and other media, it is common to run simulations or other time integrating processes which subdivide a single frame of time into a fixed integer number of subdivisions,” the post reads. “It is handy to be able to accumulate these subdivisions to create exact 1-frame and 1-second intervals, for a variety of reasons.”

Facebook says the idea behind the Flick came from a technical question from Christopher Horvath, a former Oculus architect, that first suggested the standardized time unit last year. The project has since been refined with contributions from a number of people as it made its way through Facebook’s Open Source process. The code and license are available from GitHub.

Hillary K. Grigonis
Hillary never planned on becoming a photographer—and then she was handed a camera at her first writing job and she's been…
My favorite SD card reader is a mere $15 for Prime Big Deal Days
The Lexar USB-C SD card reader.

I take a lot of pictures on a daily basis. And while I usually get to offload them in the comfort of my home, sometimes I need to export as quickly as possible. Maybe even straight from my phone.

That's where my new favorite SD card reader comes in.

Read more
Astronaut enjoys out-of-this-world view from his bedroom window
An aurora as seen from a Crew Dragon spacecraft docked at the ISS.

A NASA astronaut aboard the International Space Station (ISS) has posted a beautiful image showing an aurora over Earth.

Matthew Dominick has been aboard the ISS since March and is due to return home on a SpaceX Crew Dragon spacecraft on Sunday. In fact, it was from the docked Crew Dragon that he captured the stunning shot.

Read more
Best GoPro Prime Big Deal Days deals: Every model is on sale!
Best Prime Day Deals

Update 10/9/24: Day one of Amazon's Prime Big Deal Days festivities has closed out, but we've still got one more day of sales to go. Prime Day GoPro deals are still ripe for the picking, so check back here regularly if you haven't already made an action camera purchase this Prime Day.

In case you didn't know, it is now time for Prime Big Deal Day deals to heat up. Prime Day deals officialy lasts through October 9, and among them are plenty of Prime Big Deal Day camera deals that include good prices on action cameras. And, yet again, within these deals you'll find deals on what is probably the biggest name in action cameras, GoPro. The best GoPro Prime Day deals remaining offer some impressive savings on a number of camera models, as well as some accessories. Below you'll find all of the best GoPro Prime Big Deal Day deals available, so read onward for the details.
GoPro Hero 9 Black — $200 $350 43% off

Read more