跳到正文
DEV Community· Shayan·· 1 小時前AI 評分38

如何在瀏覽器中用 SoloMotion 製作第一個動態圖像:繪製圖形並設定兩個關鍵影格

Your first motion graphic in a browser: draw one shape and set two keyframes

AI 導讀

SoloMotion 示範如何在桌面瀏覽器中讓一個圓形從畫面一側移到另一側,並設定兩個位置關鍵影格。調整緩動效果或延後第二個關鍵影格,可比較動作節奏;練習完成後可匯出短片或 GIF,無需建立帳戶。

正文

Shayan

The first animation worth learning is just a shape moving from A to B. It teaches you where the timeline lives, how to set a key, and what easing changes. You can do this in SoloMotion in a desktop browser without making an account. I build SoloMotion, and this is the exercise I’d give a first-time user.

Draw and move one circle

  1. Start a blank project and draw a circle on the canvas.
  2. Select it, put the playhead at the beginning, and add a position keyframe.
  3. Move the playhead forward about a second. Move the circle to the other side and verify that a second position keyframe is on the timeline. Add it explicitly if your current editing mode didn’t create one.
  4. Scrub between the two keys. You should see the same circle move through the frame.

If the circle jumps, check that you’re editing the same layer and that the two keys have different times and positions. If it moves but feels stiff, change the easing and play it a second time. Keep the duration and endpoints the same so you can see what the curve did.

Make the revision

Drag the second key later on the timeline. You’ve changed the rhythm without redrawing anything. Try a slower landing, then put it back and compare the two versions. Once the motion feels right, export a short clip or GIF.

If the keyframe control was hard to find, tell me where you clicked first. That’s the part of this exercise I most want to learn from.

What the keyframes are telling you

SoloMotion timeline with the curve editor open beneath the layers

A position key stores where the selected layer is at a particular time. Put the first key near the left edge and the second farther right. As you scrub, look for an in-between position. If it stays put, stop and check your first and second values before opening the curve editor.

What you see What to check
The shape stays still The two keys need different position values.
The entire move happens at once Separate the keys on the timeline and check whether the first key is set to hold.
The movement works, but feels robotic Keep the keys where they are and try a gentler ease at the landing.
A second layer moved instead Select the circle and inspect its own position track.

Compare two versions side by side

Save a copy of the project and keep the first version linear. In the copy, change the easing into the second keyframe. Leave the start, end, and duration alone. Play one version right after the other. On the eased version, watch how the circle covers less distance per frame near the end. That’s what a softer landing looks like.

Then make one timing edit: put the last key half a second later. If it starts feeling sluggish, split the difference by bringing the last key a little closer. Export the one you prefer. A GIF or short MP4 makes the timing easier for someone else to comment on.

Write down the first action that took you more than a few seconds. “I selected the circle and looked for a clock beside Position” is enough to help me locate a problem in the UI.

AI assistance was used to draft this article.

來源:DEV Community · dev.to