© 2026 schoolict.net (Ruwan Mangala Suraweera)
4.2 2D Animation: Frames, Key Frames, Frame Rate and Tweening2D සජීවීකරණය: රාමු, යතුරු රාමු, රාමු අනුපාතය සහ Tweening
G.C.E. O/L Grade 11 ICT · Lesson 4G.C.E. O/L ICT · 11 ශ්රේණිය · පාඩම 4
In this videoමේ වීඩියෝවේ
- Animation = still frames shown quickly.සජීවීකරණය = ඉක්මනින් පෙන්වන නිශ්චල රාමු.
- fps = frames per second.fps = තත්පරයකට රාමු.
- Time = frames ÷ fps.කාලය = රාමු ÷ fps.
- Key frames mark important changes.key frames වැදගත් වෙනස්කම් සලකුණු කරයි.
- Tweening makes the in-between frames.Tweening අතරමැදි රාමු සාදයි.
Notesසටහන්
Syllabus 13.2. Cartoons on TV, a moving logo at the start of a YouTube video and a Scratch game are all animations. In this note you will learn how animation tricks the eye, what frames, key frames and blank key frames are, how the frame rate (fps) sets the speed, how to calculate the duration, the difference between frame-by-frame animation and tweening, and how to publish an animation as a GIF, video or HTML5 file using free tools like Synfig, Pencil2D and Scratch.විෂය නිර්දේශය 13.2. රූපවාහිනියේ කාටූන්, YouTube වීඩියෝවක ආරම්භයේ චලනය වන ලාංඡනයක් සහ Scratch ක්රීඩාවක් සියල්ල සජීවීකරණ වේ. මෙම සටහනේදී සජීවීකරණය ඇස රවටන ආකාරය, රාමු, යතුරු රාමු සහ හිස් යතුරු රාමු යනු මොනවාද, රාමු අනුපාතය (fps) වේගය තීරණය කරන ආකාරය, කාලය ගණනය කිරීම, රාමුවෙන් රාමුව (frame-by-frame) සජීවීකරණය සහ tweening අතර වෙනස, සහ Synfig, Pencil2D, Scratch වැනි නොමිලේ මෙවලම් භාවිතයෙන් සජීවීකරණයක් GIF, වීඩියෝ හෝ HTML5 ලෙස ප්රකාශනය කරන ආකාරය ඉගෙන ගනී.
1. How animation works1. සජීවීකරණය ක්රියා කරන ආකාරය
An animation is a series of still pictures shown quickly one after another. Each picture is a frame. Each frame is a little different from the one before. Our eyes keep an image for a moment (persistence of vision), so the pictures seem to move smoothly. A 2D animation is drawn on a flat surface (width and height only).සජීවීකරණයක් යනු එකින් එක ඉක්මනින් පෙන්වන නිශ්චල පින්තූර මාලාවකි. සෑම පින්තූරයක්ම රාමුවක් (frame) වේ. සෑම රාමුවක්ම පෙර රාමුවට වඩා ටිකක් වෙනස්ය. අපේ ඇස මොහොතකට රූපයක් රඳවා ගන්නා නිසා (දෘෂ්ටි ස්ථායිතාව), පින්තූර සුමටව චලනය වන සේ පෙනේ. 2D සජීවීකරණයක් පැතලි තලයක (පළල සහ උස පමණක්) අඳියි.
2. Frame rate (fps) and duration2. රාමු අනුපාතය (fps) සහ කාලය
Frame rate is the number of frames shown each second – frames per second (fps). Common rates are 12 fps (simple cartoons, GIFs), 24 fps (films) and 30 fps (TV and phone video). More fps = smoother movement but more drawings. Duration (seconds) = number of frames ÷ fps, and frames = seconds × fps.රාමු අනුපාතය යනු තත්පරයකට පෙන්වන රාමු ගණනයි – frames per second (fps). සුලභ අනුපාත 12 fps (සරල කාටූන්, GIF), 24 fps (චිත්රපට) සහ 30 fps (TV සහ දුරකථන වීඩියෝ) වේ. fps වැඩි = වඩා සුමට චලනය නමුත් වැඩි ඇඳීම්. කාලය (තත්පර) = රාමු ගණන ÷ fps, සහ රාමු = තත්පර × fps.
| Framesරාමු | Frame rateරාමු අනුපාතය | Durationකාලය |
|---|---|---|
| 4848 | 12 fps12 fps | 48 ÷ 12 = 4 s48 ÷ 12 = 4 s |
| 120120 | 24 fps24 fps | 120 ÷ 24 = 5 s120 ÷ 24 = 5 s |
| 9090 | 30 fps30 fps | 90 ÷ 30 = 3 s90 ÷ 30 = 3 s |
| 3636 | 12 fps12 fps | 36 ÷ 12 = 3 s36 ÷ 12 = 3 s |
| 10 × 30 = 30010 × 30 = 300 | 30 fps30 fps | 10 s10 s |
| 5 × 24 = 1205 × 24 = 120 | 24 fps24 fps | 5 s5 s |
3. Layers and the timeline3. ස්තර සහ කාලරේඛාව (timeline)
Animation software shows a timeline. Across the top are frame numbers; down the side are layers. Like layers in GIMP, each layer holds one object – a background, a character, a title – so each can move on its own. The red playhead shows which frame you are looking at.සජීවීකරණ මෘදුකාංග කාලරේඛාවක් (timeline) පෙන්වයි. ඉහළින් රාමු අංක ඇත; පැත්තේ ස්තර ඇත. GIMP හි ස්තර මෙන්ම, සෑම ස්තරයකම එක් වස්තුවක් – පසුබිමක්, චරිතයක්, මාතෘකාවක් – ඇති නිසා එක එකක් තනිව චලනය විය හැක. රතු playhead එක ඔබ බලන රාමුව පෙන්වයි.
4. Types of frames4. රාමු වර්ග
| Frame typeරාමු වර්ගය | Symbolසංකේතය | Meaningඅර්ථය |
|---|---|---|
| Frameරාමුව | grey cellgrey cell | One picture in time; repeats the last key frame’s pictureකාලයේ එක් පින්තූරයක්; අවසන් key frame එකේ පින්තූරය නැවත පෙන්වයි |
| Key frameයතුරු රාමුව | filled circle ●filled circle ● | A frame where something new is drawn or changesඅලුත් දෙයක් අඳින හෝ වෙනස් වන රාමුවක් |
| Initial frameආරම්භක රාමුව | first ●first ● | The key frame where a movement startsචලනයක් ආරම්භ වන key frame එක |
| Destination frameගමනාන්ත රාමුව | last ●last ● | The key frame where the movement endsචලනය අවසන් වන key frame එක |
| Blank key frameහිස් යතුරු රාමුව | empty circle ○empty circle ○ | A key frame with nothing drawn yetතවම කිසිවක් ඇඳ නැති key frame එකක් |
In Figure 4.4 the Ball layer has an initial key frame at frame 1 and a destination key frame at frame 13. The Text layer starts with a blank key frame (nothing yet) and the title appears at the key frame in frame 7. The Background has one key frame and then normal frames that just repeat it.රූපය 4.4 හි බෝල ස්තරයට රාමු 1 හි ආරම්භක යතුරු රාමුවක් සහ රාමු 13 හි ගමනාන්ත යතුරු රාමුවක් ඇත. පෙළ ස්තරය හිස් යතුරු රාමුවකින් (තවම කිසිවක් නැත) ආරම්භ වන අතර මාතෘකාව 7 වන රාමුවේ key frame එකේදී පෙනේ. පසුබිමට එක් key frame එකක් සහ එය නැවත පෙන්වන සාමාන්ය රාමු ඇත.
5. Geometric objects and shapes5. ජ්යාමිතික වස්තු සහ හැඩ
Most 2D animations are built from simple geometric shapes: lines, rectangles, circles (ellipses), polygons and stars. You draw them with the shape tools, then change their fill colour, stroke (outline), size, position and rotation. A sun can be a yellow circle; a house can be a square with a triangle roof.බොහෝ 2D සජීවීකරණ සරල ජ්යාමිතික හැඩ වලින් සාදයි: රේඛා, සෘජුකෝණාස්ර, රවුම් (ඉලිප්ස), බහුඅස්ර සහ තරු. shape tools මගින් ඒවා ඇඳ, පිරවුම් වර්ණය, stroke (දාරය), ප්රමාණය, පිහිටීම සහ භ්රමණය වෙනස් කරයි. හිරු කහ රවුමක් විය හැක; නිවසක් ත්රිකෝණ වහලක් ඇති සමචතුරස්රයක් විය හැක.
6. Frame-by-frame animation6. රාමුවෙන් රාමුව සජීවීකරණය
In frame-by-frame animation you draw every frame yourself. It gives full control – for example a ball that squashes when it hits the ground – but it takes a long time. A 2-second clip at 12 fps needs 24 drawings. Pencil2D and OpenToonz are good for this.රාමුවෙන් රාමුව සජීවීකරණයේදී සෑම රාමුවක්ම ඔබම අඳියි. එය සම්පූර්ණ පාලනයක් දෙයි – උදා. බිම වදින විට තැලෙන බෝලයක් – නමුත් බොහෝ කාලයක් ගතවේ. 12 fps හි තත්පර 2 ක clip එකකට ඇඳීම් 24 ක් අවශ්යයි. Pencil2D සහ OpenToonz මේ සඳහා හොඳයි.
7. Tweening – the computer draws the middle7. Tweening – මැද රාමු පරිගණකය අඳියි
Tweening (from “in-between”) is faster. You draw only the initial and destination key frames; the software creates the in-between frames automatically. With key frames at 1 and 13, the computer makes 11 in-between frames. At 12 fps the movement lasts 13 ÷ 12 = 1.08 s.Tweening (“in-between” යන්නෙන්) වඩා වේගවත්ය. ඔබ අඳින්නේ ආරම්භක සහ ගමනාන්ත යතුරු රාමු පමණි; මෘදුකාංගය අතරමැදි රාමු ස්වයංක්රීයව සාදයි. key frames 1 සහ 13 නම්, පරිගණකය අතරමැදි රාමු 11 සාදයි. 12 fps හි චලනය 13 ÷ 12 = තත්පර 1.08 ක් පවතී.
8. Publishing an animation8. සජීවීකරණයක් ප්රකාශනය කිරීම
| Outputප්රතිදානය | Useභාවිතය |
|---|---|
| GIFGIF | Short looping animation; no soundකෙටි නැවත නැවත යන සජීවීකරණය; ශබ්ද නැත |
| MP4 videoMP4 video | Plays everywhere: YouTube, phones; with soundසෑම තැනම: YouTube, දුරකථන; ශබ්ද සහිතව |
| HTML5 (Canvas)HTML5 (Canvas) | Runs in a web browser; can be interactiveවෙබ් බ්රවුසරයේ ධාවනය වේ; අන්තර්ක්රියාකාරී විය හැක |
| SWF (Flash) – oldSWF (Flash) – old | No longer supported by browsers since 20212021 සිට බ්රවුසර සහාය නොදක්වයි |
Older animations were often published as SWF files for Adobe Flash Player. Flash ended in 2021, so today we publish MP4, GIF or HTML5 Canvas.පැරණි සජීවීකරණ බොහෝ විට Adobe Flash Player සඳහා SWF ගොනු ලෙස ප්රකාශනය කළේය. Flash 2021 දී අවසන් වූ නිසා අද අපි MP4, GIF හෝ HTML5 Canvas ලෙස ප්රකාශනය කරමු.
9. Animation software9. සජීවීකරණ මෘදුකාංග
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1What is a frame?රාමුවක් යනු කුමක්ද?
2What does 24 fps mean?24 fps යනු කුමක්ද?
3How long is 120 frames at 24 fps?24 fps හි රාමු 120 ක් කොපමණ කාලයක්ද?
4What is a blank key frame?හිස් යතුරු රාමුවක් යනු කුමක්ද?
5Why is tweening faster than frame-by-frame?tweening, frame-by-frame ට වඩා වේගවත් ඇයි?
6Name two free 2D animation programs.නොමිලේ 2D සජීවීකරණ වැඩසටහන් දෙකක් නම් කරන්න.
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1Animation seems to move because ofසජීවීකරණය චලනය වන සේ පෙනෙන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
The eye holds each picture for a moment.ඇස සෑම පින්තූරයක්ම මොහොතකට රඳවා ගනී.
2fps stands forfps යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Frames shown each second.තත්පරයකට පෙන්වන රාමු.
3How long does 48 frames at 12 fps play?12 fps හි රාමු 48 ක් කොපමණ කාලයක් වාදනය වේද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
48 ÷ 12 = 4.48 ÷ 12 = 4.
4How many frames are needed for a 10-second animation at 30 fps?30 fps හි තත්පර 10 ක සජීවීකරණයකට රාමු කීයක් අවශ්යද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
10 × 30 = 300.10 × 30 = 300.
5Which frame rate is the usual standard for films?චිත්රපට සඳහා සාමාන්ය සම්මත රාමු අනුපාතය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Cinema uses 24 fps.සිනමාව 24 fps භාවිත කරයි.
6A frame where something new is drawn or changes is aඅලුත් දෙයක් අඳින හෝ වෙනස් වන රාමුවක්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Key frames mark changes.key frames වෙනස්කම් සලකුණු කරයි.
7On a timeline a hollow circle ○ usually shows atimeline එකක හිස් රවුමක් ○ සාමාන්යයෙන් පෙන්වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Empty circle = nothing drawn yet.හිස් රවුම = තවම කිසිවක් ඇඳ නැත.
8The key frame where a movement ends is theචලනයක් අවසන් වන key frame එක
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Destination = where it arrives.ගමනාන්තය = පැමිණෙන තැන.
9Key frames are at frame 1 and 13. How many in-between frames does the software create?key frames 1 සහ 13 රාමුවල ඇත. මෘදුකාංගය අතරමැදි රාමු කීයක් සාදයිද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
13 − 1 − 1 = 11.13 − 1 − 1 = 11.
10Drawing every frame by hand is calledසෑම රාමුවක්ම අතින් ඇඳීම හඳුන්වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Each frame is your own drawing.සෑම රාමුවක්ම ඔබේම ඇඳීමකි.
11A circle slowly changing into a star is aරවුමක් සෙමින් තරුවක් බවට වෙනස් වීම
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Shape tween changes the shape.shape tween හැඩය වෙනස් කරයි.
12A bus moving from left to right across the screen is best made with aතිරය හරහා වමේ සිට දකුණට යන බසයක් සෑදීමට වඩාත් සුදුසු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Motion tween changes position.motion tween පිහිටීම වෙනස් කරයි.
13Which format gives a short looping animation with no sound?ශබ්ද නැති කෙටි නැවත නැවත යන සජීවීකරණයක් දෙන ආකෘතිය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Animated GIFs loop and have no sound.Animated GIF නැවත යයි, ශබ්ද නැත.
14Which is a free 2D animation program?නොමිලේ 2D සජීවීකරණ වැඩසටහනක් වන්නේ කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Pencil2D is for frame-by-frame animation.Pencil2D frame-by-frame සජීවීකරණය සඳහාය.
15Old SWF animations neededපැරණි SWF සජීවීකරණවලට අවශ්ය වූයේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Flash ended in 2021; use MP4 or HTML5 now.Flash 2021 දී අවසන් විය; දැන් MP4 හෝ HTML5 භාවිත කරන්න.
MCQ answer keyMCQ පිළිතුරු
- B – The eye holds each picture for a moment.ඇස සෑම පින්තූරයක්ම මොහොතකට රඳවා ගනී.
- D – Frames shown each second.තත්පරයකට පෙන්වන රාමු.
- A – 48 ÷ 12 = 4.48 ÷ 12 = 4.
- B – 10 × 30 = 300.10 × 30 = 300.
- A – Cinema uses 24 fps.සිනමාව 24 fps භාවිත කරයි.
- C – Key frames mark changes.key frames වෙනස්කම් සලකුණු කරයි.
- A – Empty circle = nothing drawn yet.හිස් රවුම = තවම කිසිවක් ඇඳ නැත.
- D – Destination = where it arrives.ගමනාන්තය = පැමිණෙන තැන.
- B – 13 − 1 − 1 = 11.13 − 1 − 1 = 11.
- A – Each frame is your own drawing.සෑම රාමුවක්ම ඔබේම ඇඳීමකි.
- C – Shape tween changes the shape.shape tween හැඩය වෙනස් කරයි.
- C – Motion tween changes position.motion tween පිහිටීම වෙනස් කරයි.
- B – Animated GIFs loop and have no sound.Animated GIF නැවත යයි, ශබ්ද නැත.
- D – Pencil2D is for frame-by-frame animation.Pencil2D frame-by-frame සජීවීකරණය සඳහාය.
- C – Flash ended in 2021; use MP4 or HTML5 now.Flash 2021 දී අවසන් විය; දැන් MP4 හෝ HTML5 භාවිත කරන්න.
Structured Questionsව්යුහගත ප්රශ්න
1(i) What is frame rate? (1 mark)
(ii) An animation has 120 frames at 24 fps. Find its duration. (2 marks)(i) රාමු අනුපාතය යනු කුමක්ද? (ලකුණු 1)
(ii) සජීවීකරණයක 24 fps හි රාමු 120 ඇත. එහි කාලය සොයන්න. (ලකුණු 2) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2Explain key frame, blank key frame and frame. (3 marks)key frame, blank key frame සහ frame පැහැදිලි කරන්න. (ලකුණු 3) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3Compare frame-by-frame animation and tweening. Give one advantage of each. (4 marks)frame-by-frame සජීවීකරණය සහ tweening සසඳන්න. එක් එක් එකේ වාසියක් දෙන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4A Grade 11 student makes a ball roll across the screen with a motion tween from frame 1 to frame 13 at 12 fps.
(i) How many in-between frames are made? (1 mark)
(ii) How long does the movement last? (1 mark)11 ශ්රේණියේ සිසුවෙක් රාමු 1 සිට 13 දක්වා 12 fps හි motion tween එකකින් බෝලයක් තිරය හරහා පෙරළයි.
(i) අතරමැදි රාමු කීයක් සෑදේද? (ලකුණු 1)
(ii) චලනය කොපමණ කාලයක් පවතීද? (ලකුණු 1) (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Name two formats to publish an animation and say where each is used. (4 marks)සජීවීකරණයක් ප්රකාශනය කිරීමට ආකෘති දෙකක් නම් කර එක් එක් භාවිත වන තැන කියන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- Animation = still frames shown fast; persistence of vision.සජීවීකරණය = ඉක්මනින් පෙන්වන නිශ්චල රාමු; දෘෂ්ටි ස්ථායිතාව.
- fps: 12 cartoons/GIF, 24 films, 30 TV/phone.fps: 12 කාටූන්/GIF, 24 චිත්රපට, 30 TV/දුරකථන.
- Duration = frames ÷ fps; frames = seconds × fps.කාලය = රාමු ÷ fps; රාමු = තත්පර × fps.
- Timeline: frames across, layers down, playhead shows current frame.Timeline: හරහට රාමු, පහළට ස්තර, playhead වත්මන් රාමුව.
- Key frame ●, blank key frame ○, initial and destination frames.Key frame ●, blank key frame ○, ආරම්භක සහ ගමනාන්ත රාමු.
- Frame-by-frame = draw every frame; tweening = software makes in-betweens.Frame-by-frame = සෑම රාමුවක්ම අඳින්න; tweening = මෘදුකාංගය අතරමැදි රාමු සාදයි.
- Motion tween moves; shape tween changes shape; in-betweens = last − first − 1.Motion tween ගෙන යයි; shape tween හැඩය වෙනස් කරයි; අතරමැදි = අවසන් − පළමු − 1.
- Publish as MP4, GIF or HTML5 (SWF/Flash ended 2021).MP4, GIF හෝ HTML5 ලෙස ප්රකාශනය (SWF/Flash 2021 අවසන්).
