三 งานทดลองExperiment

Type Playground

พิมพ์อะไรก็ได้ (รองรับภาษาไทย) แล้วเลือกสไตล์ Motion: kinetic, scramble หรือ waveType anything (Thai works too) and pick a motion style: kinetic, scramble or wave.

loading…
GSAP · Intl.Segmenter · DOM
一 วิธีเล่นHow to play

พิมพ์ข้อความของคุณเอง (สูงสุด 40 ตัวอักษร) แล้วกดเลือกสไตล์ kinetic, scramble หรือ waveType your own text (up to 40 characters) and switch between kinetic, scramble and wave.

二 ทำงานยังไงHow it works
  • 一

    ตัดตัวอักษรแบบเข้าใจภาษาไทยSplitting text the Thai-aware way

    ใช้ Intl.Segmenter แบ่งข้อความเป็นหน่วยตัวอักษรจริง สระและวรรณยุกต์ไทยจึงติดอยู่กับพยัญชนะ ไม่หลุดลอยตอนขยับIntl.Segmenter splits the text into real grapheme clusters, so Thai vowels and tone marks stay attached to their consonant while it moves.

  • 二

    KineticKinetic

    GSAP timeline พลิกตัวอักษรขึ้นมาทีละตัว หยุดให้อ่าน แล้วพลิกออกไป วนซ้ำA GSAP timeline flips the letters in one at a time, holds so you can read, then flips them out, on a loop.

  • 三

    ScrambleScramble

    ทุก 40 มิลลิวินาทีสุ่มสัญลักษณ์มาแทนตัวอักษร แล้วค่อยๆ เฉลยทีละตัวจากซ้ายไปขวาEvery 40 ms random symbols replace the letters, which are then revealed one by one from left to right.

  • 四

    WaveWave

    ตัวอักษรขยับขึ้นลงเป็นคลื่น โดยแต่ละตัวเริ่มช้ากว่าตัวก่อนหน้าเล็กน้อยThe letters bob up and down as a wave, each starting slightly after the one before it.