Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8412715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:44:40+00:00 2026-06-10T00:44:40+00:00

I try to make something like live type using html5 canvas, but I can’t

  • 0

I try to make something like “live type” using html5 canvas, but I can’t get it. I also can’t find anything on the net about it. So, one can not do it only with html5? If someone knows a site with a model, it will be enough.

So I want to write some words live, as the user reads it, letter by letter.

Thanks!

(I did not post my code because I am so far from what I want that it is irrelevant 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:44:41+00:00Added an answer on June 10, 2026 at 12:44 am

    This can be done with canvas and a little JavaScript. I’ve put together a demo which should demonstrate the principles and provide you a starting point to work from.

    For further reading, have a look at the documentation for setTimeout (which is used in the demo to create the animation loop which draws the characters) and the canvas.fillText method (there’s a decent looking tutorial here).

        var c = document.getElementById('myCanvas');
    
        var ctx = c.getContext('2d');
        ctx.fillStyle = "black";
        ctx.font = "30px sans-serif";
    
        var words = "Hello world!";
        var count = 0;
        var pause = 500; // ms to wait before drawing next character
    
        var chars;
    
        function draw() {
    
            count ++;
    
            // Grab all the characters up to count
            chars = words.substr(0, count);
    
            // Clear the canvas each time draw is called
            ctx.clearRect(0, 0, c.width, c.height);
    
            // Draw the characters to the canvas
            ctx.fillText(chars, 0, 150);
    
            if (count < words.length)
                setTimeout(draw, pause);
        }
    
        draw();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Web programming! I try to make an app (something like Client
I try to make a apps that need barcode scanner, i already can get
Im trying to make something like an Rpg game atm but im really stuck
I try to make a useful macro for logging. But I find that NSLog
I try to make something like that : class oObject(object): def __init__(self, x =
I am trying to make something like a thermometer but but I have a
I try to make an animation with an image in my view but it
I've seen something like this: echo ($hello->somethingA->somethingB); What does this mean? I will try
Im trying to make the look of my application to look something like this:
When I create a form, I try to make accessibility a top priority, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.