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.

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…
How to remove location data from your iPhone photos
How to transfer photos from an iPhone to an iPhone

We all love making memories, and a great way to collect those memories is to take a quick snap of a gorgeous landscape, a party in full swing, or a particularly incredible meal. The Apple iPhone now also adds a location to your pictures, meaning it can collate those images together into a location-themed album, or show you all the shots you've taken in a specific location. It's a fun little addition, and it's one that adds a lot of personality to the Photos app.

Read more
‘Photoshopped’ royal photo causes a stir
The Princess of Wales with her children.

[UPDATE: In a message posted on social media on Monday morning, Princess Kate said that she herself edited the image, and apologized for the fuss that the picture had caused. “Like many amateur photographers, I do occasionally experiment with editing," she wrote, adding, "I wanted to express my apologies for any confusion the family photograph we shared yesterday caused."]

Major press agencies have pulled a photo of the U.K.’s Princess of Wales and her children amid concerns that it has been digitally manipulated.

Read more
Nikon sale: Get up to $700 off select Nikon cameras and lenses
nikon d780 review product  1

Crutchfield has a huge sale on many different Nikon cameras with some of the best camera deals that we’ve seen in a while. With nearly 30 different items in the sale, the best thing that avid photographers can do is take a look for themselves. However, if you want a little insight before you dive in, take a look at what we have to suggest below.

What to shop for in the Nikon sale
Nikon makes some of the best DSLR cameras around with our overall favorite -- the -- available for $2,197 reduced from $2,297. The camera is perfect for both photographers and videographers with a 24.5-megapixel full-frame image sensor. Its rugged magnesium-alloy body is weather-sealed against dust, dirt, and moisture so it’s great for all occasions. The Nikon EXPEED 6 image processor is optimized for low-light performance while maintaining long battery life with an autofocus sensor module with support for 51 focus points. You just need to add a lens to reap the benefits with features like the 273-point phase-detection AF system detecting and tracking subjects throughout the entire frame.

Read more