How different is it to have an application idea and a startup idea?

An idea is mostly just a guess for a solution that solves a problem you guessed. Put that way, an idea is not a lot! There can be good ideas solving problems that don’t exist (or that are not…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Create a JavaScript Kinetic Typing Animation

Typing animation refers to text that flows like typing in a typewriter.

In this article, I want to introduce the principles of typing animation.

There are three typical ways to make typing animations.

The animation to be described in this article is JavaScript.
Because it’s simpler than I thought.

CSS animation can also create typing animations using the before or after pseudo selector and content property. However, since it is a selector that only supports PC Chrome, it is too much to use.

If your browser is PC Chrome, you will see the animation below.

Typing animation is a method of importing text sequentially into html as shown below.

you create a typing animation using Scene.js, you can write the code as follows:

Play the above code and it will look like the following CodePen:

In addition to typing animation, it tries to have a kinetic effect.

The kinetic effect moves the origin point in the opposite direction.
The origin point appears to be fixed but is moving.

Once you create a kinetic animation using Scene.js, you can write the code as follows:

Play the above code and it will look like the following CodePen:

Finally, add typing animation in time for kinetic effect.

Finally, if you tie the typing effect to the kinetic effect, it will be as follows:

To see more animation using Scene.js:

If you like it, press the star.

Thank you

Add a comment

Related posts:

Christianity is a spectrum

Everything is binary, good or bad, strict rules, harsh judgement. Few are actual fundamentalists though, evangelicals talk big and can sound like them. Painting all Christians as this type is a…

Rethinking Capitalism

With an ever-growing wage and income gap, there is no better time to talk about the future of capitalism than right now. Despite today’s disconcerting era of populism, protectionism, automation, and…

Send in blue

Sendinblue is an all-in-one marketing platform that provides businesses with an efficient and affordable way to manage their email marketing campaigns, SMS marketing, and transactional emails. It was…