![]() ![]() We add properties by appending them to a layer name separated by a full-stop like this: `Red Rectangle`.x Layers consist of many properties such as width, height and opacity. In formulas, layer names are written wrapped in back tick marks like this: `Red Rectangle` Layer properties Each object we add into a scene has a corresponding layer name. We use layer names to reference objects in the scene that we want to manipulate. There are several building blocks that we can use in formulas, let’s discuss each one in turn. Having this capability gives us a lot of power to create some really cool advanced interactions. They are single-line instructions that we use to manipulate our prototypes dynamically. I like to think of formulas in ProtoPie as being similar to formulas in Excel or expressions in After Effects. ![]() PROTOPIE 4 SERIESThis article series will introduce you to all of the building blocks of formulas explaining the concepts without jargon and in a way that even your Grandma can understand! I’ve found in my own experience that most designers who work in digital tend to be aware of some programming concepts and if that isn’t the case, well thats where I come in. Most things can be chosen from a list and you’ll rarely have to type much in. PROTOPIE 4 CODEThink of formulas as code snippets on stabilsers. You’ll rarely find yourself using more than a line at a time to get or apply a dynamic value such as moving a graphic to a calculated position for example. Now I know what you’re probably thinking, that sounds a lot like coding isn’t Protopie meant to be a no-code prototyping tool? It’s true that the concepts around formulas sounds very code like and that is because ultimately everything we build in digital has code under the hood but while ProtoPie hasn’t completely hidden it’s code underpinnings it does endeavour to make these code snippets as I call them as easy to use as possible. Functions in particular give you an unprecedented amount of control with over 50 functions available to play with. In addition to layer properties formulas work together with other building blocks such as variables and functions. Values such as the X and Y position or opacity to name just a few. They allow us to tap into many properties of the graphics we import in and allow us to manipulate them. Formulas are a part of ProtoPie that enable us to create even richer and realistic prototypes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |