Design community Sketchapp has prepared a translation of the designer notes Google Joe Toscano on how to organize work on creation of models in Sketch and the app for prototyping Principle. You may have already worked in Principle earlier and had to hate him, because it is not immediately clear how to create modular, organized workflow. You probably didnt understand why some layers of the Ghost flying where you never been created. This article will change your standard prototyping process in Principle for the better. The key to a pleasant experience in Principle is the organization.
And it begins with your Sketch file. If youre not organized properly before synchronizing the Sketch file with the app, wait for the nightmare instead of normal operation. The importance of the organization and modularity of design files written a lot, so much faster and easier to work. I use organization very similar to how organize his work programmers. Earlier I have studied the syntax Block Element Modifier (BEM), when previously engaged in programming, and this approach significantly changed my work.
The syntax of BEM (Block, element, modifier) can be broken into simple component parts: Name-blonay-elementary modifier. If in Russian, it looks like this: If you look at my crop vector and groups or layers you will see that they follow this syntax, for example: Group layers are also called by this principle:
Download the Sketch file from the link. If you want, you can use a Principle as would use InVision or any other similar product — implementing a simple one click program interaction state-based. This is not the best way to use Principle, but if you want to make a prototype fast, then this is the best option. This can be achieved, simply by exporting each state of the interface to PNG and then adding invisible layers on top of your ideas to work as hotspots. The most important point — you are changing the opacity of the layer to zero, you have to bring the opacity to zero in the picker.
If you turn down opacity to zero in the settings, the button will become invisible and reclinabile. After all hotspots are hidden, you only need to connect the screens, and you get a clickable prototype. Download basic PDF file Principle by reference. Create more detailed, complex prototype in Principle may be more time consuming. And here comes to help correct the separation and naming.
You have probably noticed without me, what state, which can be seen in my Sketch file, do not match what is in my file Principle. And theres a reason buried in the animation. In Principle animation based on conditions. That is, groups and backgrounds are moving based on their status at each artboard. In the example in the demo layer-the shape radius, no borders, fill shade hex #FA5367 and the coordinates (70, 500) for State 1 of the animation (first frame).
In State 2 demogogue is already underway with a radius of the boundaries 70, a fill hex #2B96FE and coordinates (190, 270) on the screen. Between the States it will look like this. If you get unsightly animation, most likely, the reason that groups and classes were not named properly before importing. Principle is a tool for prototyping state-based, which uses linear motion to move the groups and layers based on their names, you assign the chosen attributes for each state, as well as driver settings or animations for each interaction. When you import without defining groups or layers Principle asks those names for you.
This automation leads to conflicts of names of groups or layers between the States, which leads in the end to clumsy animations. That animation was smooth, you need to give the names of the groups or layers into full compliance and to ensure they are available on every screen that you interact with — including the state where those groups, or layers should be invisible. Thats what is really going on under the hood of prototypes, Principle and why you will see so many different layers that do not fit within artboard or working window in my files, Principle. As you can see, the keyboard is available for each state application, but is shown in the working window only when necessary, as the Log Out button.
If the keyboard and the button would not be available in every state, the program would not recognize their transition, and they would come much faster — feels like it would be too suddenly or looked like a glitch. Download non-animated PDF file from the link. Download animated PDF file from the link. Once you master the theoretical and practical basics of how everything moves in Principle, the program feels more like a game breaking sensations. There are stunning prototypes and animating Principle, which looks really beautiful, it does not require huge effort to develop.
They are all based on linear and rotational motion, as well as creative bundle graphics. One of the most powerful aspects of a Principle is the possibility to built in video, which still dont allow many other tools for prototyping. This option will bring your prototype to a new level, especially if your product is aimed at video content. Download source the link.
Although the Principle is not the program, which usually create the designs, you can use the vector source files created in other programs to create beautiful effects using a small hacking system. In this demo vector sources move on the screen linearly. This effect was possible thanks to creative animation and layering.
Download source the link. The feeling of non-linearity in the motion is achieved by creative layering. Nonlinear sources themselves are created in vector editors and then imported into the Principle to animate. View examples of works in Dribbble account Jardson Almeida. If you open the source code of this file, you will see that all the movement in this prototype was created using linear and rotational animation, and the illusion of non-linearity provided creative layering.
Download the source code at the link. As the last few animations, this animation looks a lot more complex than it really is. More examples of Dribble account Mario Šimić. If you open the source code and play with it, you will see that the animation is incredibly creative figment of your perception using a combination of layering and asynchronous linear movements.
Download source the link. Movement in which the plurality of fragments moving at different speeds or in different directions on the basis of user interactions with one layer or group is usually called “Driver”. Drivers are a little deeper than simple animation between States, but they are not as difficult to assemble as it seems. You can find drivers in more detail in the documentation Principle and also a great video lesson.
Download source the link. I hope that now the program seems much more affordable. After a little practice with Principle, you will grow rapidly in the prototyping. He really focuses on the most important basics. For inspiration view the repository Principle.