Emoji art, picture-in-picture, splashy waves, and more

Domenico Nicoli
Aug 22 · 3 min read

Picture-in-Picture

Let’s start with one of the most useful features for many different kinds of apps that use video. We’re talking about picture-in-picture!

This library will add a feature we’ve already seen on famous apps like YouTube, Telegram, and WhatsApp to your app with only a few lines of code.


Wave Splash

This library adds a colored wave overlaying custom text and changes its color.

This beautiful animation can be used for your app’s splash screen or during app loading.



Charts

Simple and useful chart library that can be used in many different app contexts.

Completely written in Swift, this powerful library allows you to easily create charts and manage categories, colors, and views.

Passcode View

This simple view can be used for passcode or OTP. Quickly customizable with different classes and very easy to use, you can start immediately simply by adding two lines of code.


Emoji Pixel Art

Emojivision is a Playgrounds code that allows you to render a custom image with an emoji for each pixel, like a mosaic.

Here’s how it works:

Go through every few pixels of the image (specified by resolution) and get the color of that pixel

Treating each color’s rgb as a 3d vector, compare the euclidian distance of that color with every color in the provided palette, and get the color with the nearest distance

Get the emoji associated with that color value from a precomputed dictionary of colors to emojis

Draw the emoji in the rect occupied by the current pixel with dimension specified by resolution


Questions or suggestions? Let me know below!

Better Programming

Advice for programmers.

Domenico Nicoli

Written by

Backend Developer (C#, VB.NET, Microsoft SQL Server) as job, iOS developer (Swift) for passion. Parma, Italy 🇮🇹

Better Programming

Advice for programmers.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade