
Explore prototype formulas in ProtoPie, mastering the building blocks, key functions, and system features like mouse position, touch velocity, and voice UI, with real-world challenges.
Explore how ProtoPie formulas transform static responses into dynamic values using building blocks—layer properties, text, variables, and functions—to enable advanced, interactive prototypes.
Set initial layer properties in the properties panel and use the formula baton. Create dynamic links by referencing another object's X and Y in move and position formulas.
Explore basic math operators in ProtoPie formulas—add, subtract, multiply, divide, and modulo—and apply them to properties like width to center rectangles with a container-based approach.
Explore text manipulation with formulas in ProtoPie to personalize prototypes. Concatenate text from inputs and create dynamic messages with timers and counters.
Explore variables as flexible containers that hold numbers, text, and hex colors, with global, local, and component scopes, plus practical examples of using and debugging them across scenes.
Learn how ProtoPie functions transform text, numbers, and colors across layers using uppercase, round, format, and type conversion, while applying variables and formulas.
Explore predefined variables in ProtoPie formulas by typing the dollar symbol, and make a rectangle follow the cursor using dollar mouse x and y with zero duration and infinite repeat.
Explore how to build and test conditions in ProtoPie formulas by comparing values, using greater/less/equal/not equal, combining multiple conditions, and nesting with messages to drive interactive changes like rectangle color.
Learn how the index of function searches a source text for a given word, returns a 0-based position or -1 when not found, and demonstrates case sensitivity with practical examples.
Learn to use the length function to count characters in text, apply it to enable a button after six or more characters, and drive navigation with conditions in ProtoPie.
Isolate text in ProtoPie by using the left and right functions to extract a portion from an input field, and test with the formula and preview.
isolate the first name from a full name input and use it in a welcome message via a text response formula in ProtoPie, triggered by a focus and pressing return.
Learn to isolate the first name from a text field using ProtoPie formulas, leveraging left and index of with the input text property to construct a welcome message.
Use the L pad and pad functions to add static characters to dynamic text in ProtoPie formulas. Pad left to align counters as digits grow.
Learn how to round numbers in ProtoPie using round, flow, and ceiling functions, choosing up or down, with practical examples for currency and precise positioning.
Learn to build a snapped vertical knob slider in ProtoPie using a drag trigger, a round function, and a numeric variable to map the knob’s y position to fixed values.
Explore the abs function in ProtoPie formulas, converting negative inputs to positive, with examples using -100 and 100, and applying absolute values to manage negative signs in math objects.
Use a drag trigger with a move response to track two circles on the y axis, introduce a distance variable, and turn the oval red when distance is under 100.
Learn to generate random numbers in ProtoPie formulas, including 0–1 fractions, bounded ranges, and random integers, with a dice throw prototype.
Animate a dice roll with a fling trigger, move and rotate responses, and reveal the face using a random formula and a number variable with opacity controls.
Use the initial function to reset selective layer properties to their loaded state, like the Y property and fill color, with easing such as ease out.
Harness the layer function to reference a layer dynamically in ProtoPie, enabling a single line to scroll to the correct content when a tab is selected.
Explore relative layer positioning in ProtoPie by computing screen coordinates with screen X and screen Y, and using the two layer X and Y functions.
Explore how the format function converts a dynamic value into a chosen number format using masks, enabling currency formatting, decimal control, and rounding.
Track the cursor with ProtoPie using predefined variables mouse x and mouse y. Use the formula option for number variables, enable debugging, and view screen-relative coordinates in preview.
Learn to detect user touch using predefined touch X and touch Y variables, set up a scene variable with formulas, and debug to track touch position on screen.
Compute touch velocity in protoPie with the velocity variable and the touch velocity formula, linking touch up and drag to fling a rectangle vertically, with velocity values always positive.
Detect velocity and direction with touch velocity X and Y, revealing layer speed and swipe direction during drags. Show how negative and positive values indicate movement direction.
Detect when the native keyboard is up using the keyboard height variable, and move the input field via a formula that subtracts keyboard height and input height with an offset.
Prototype speech to text by using a voice transcripts variable, a start button trigger, and a text layer to print transcripts in real time.
Prototype the clearing of a text field using ProtoPie formulas, showing how typing reveals a clear button that clears the value and hides the button.
Discover how to clear a text field in ProtoPie with formula-based methods, including a clear button using opacity and emptying the field via double quotes or an empty text variable.
Create a show/hide header interface that hides the header when scrolling down and reveals it when scrolling up, letting readers focus on notes without distractions in a prototype notes app.
Learn to show or hide the header based on scroll direction using touch velocity y and a detect trigger in ProtoPie formulas, with both variable-based and compact approaches.
Use a long press to drop a location marker on a map and reveal a bottom sheet, ensuring the map moves up so the pin stays visible near the bottom.
Demonstrates dropping a pin on a map in ProtoPie by using long-press triggers, bottom sheet reveal, touch x/y positioning, and map scrolling with calculated offsets for accurate pin placement.
Accept the challenge to validate an email input using formulas, checking for the symbol, showing a red border and error message when missing and a green border when present.
Explore validating forms in ProtoPie by detecting a symbol in an email field with the index of function, and implement error and success states via opacity and border color.
Create a mac OS drag and drop interface with a file and folder; highlight when over the folder and drop to place, keeping the folder trackable from any position.
Create a drag-and-drop interaction in ProtoPie using drag and detect triggers, hit-area formulas with x/y, and a touch-up action to scale, fade, and color feedback.
Celebrate finishing the definitive ProtoPie formulas guide and commit to practicing formulas, while previewing a forthcoming course on prototype components and related videos via Pro Pilot.
A message from Fredo Tan - Head of Customer Success at ProtoPie
One of the hats I have been wearing since the early days of ProtoPie is customer success. In this role, I had the pleasure to get to know Darren Bennett in 2019. He joined as a user shortly after we launched ProtoPie publicly in 2017 and has been an avid user ever since.
His passion for ProtoPie even led to him being hired by Microsoft and being one of the driving forces behind the company's prototyping efforts. Throughout the years, Darren turned into the ProtoPie expert any designer and design team could turn to if they want to use ProtoPie as a vehicle for success.
Courses, tutorial videos, and trainings—Darren has done them all. His latest feat is this course. The definitive guide on formulas is the ideal stepping stone to taking your prototypes from being average to dynamic and realistic; being mediocre to outstanding; and having minor value to major business impact. Mastering the concept of ProtoPie's formulas is key to stretching your possibilities with this tool.
If sky is the limit with ProtoPie, then Darren his definitive guide on formulas would be the fastest jet aircraft to take you there.
—Fredo Tan,
Head of Customer Success at ProtoPie
About this course
ProtoPie is a great interaction design tool that enables you to create some truly realistic prototypes
but to really get to a level of interaction that makes your prototypes feel real requires another level of understanding.
After understanding the basic object model of object, trigger and responses the second key pillar of knowledge that you need to attain is the understanding of formulas.
Formulas simply put give you the capability to to make your prototypes dynamic. No longer do you need to build an on rails prototype based on static values.
With formulas you can leverage a simplified pseudo code based language to create advanced interactions using conditions, variables, layer properties and functions.
In this course I’ll take you through every aspect of formulas and how to use them.
First we’ll dive into the fundamental building blocks of formulas and learn the rules and how to piece each block together.
Next we’ll take an unprecedented look at nearly every function that ProtoPie has to offer. I’ve curated the most useful and practical functions and will show you how to use each one and what they’re good for.
After that we’ll take a look at a special list of features that give you access to some quite fundamental system based information such as mouse position, touch velocity and voice UI.
Finally you be able to practice what you have learned by working through a range of real world challenge projects which will give you a chance to test your knowledge solving real world UI problems.
This course is a must for any designer wanting to take their interaction design and prototyping skills to another level. This course is aimed at designers with no coding knowledge or expertise. After completing this course you’ll literally be amazed at what you can prototype.
Look forward to seeing you inside!
Darren
ProtoPilot