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 4116390
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:42:08+00:00 2026-05-20T22:42:08+00:00

I had this grand scheme to make this cool website with all these bells

  • 0

I had this grand scheme to make this cool website with all these bells and whistles, and I decided to use HTML canvas b/c it offers so much flexibility. However, as time wore on, I began to realize that I was just reinventing the wheel, for example manually implementing or integrating:

  1. Mouse/Keyboard events
  2. User (text) input
  3. Simple Animations (ie. fade)
  4. Buttons, drop down menus

The first one, especially makes one realize how much we take for granted things like onmouseover. I understand what the canvas is for –loosely collected under the umbrella of pixel manipulation– so I guess to cut this rant short, my question is this: Does anyone else think the canvas does not integrate well with all the other godly goodness of HTML5? Off the top of my head, here are two basic things that would be neat to embed in the canvas (please feel free to correct me if they are already included)

  1. Embedding of other websites: For example, If I have a star shape, I want to connect its onlcick function to load a web page, then use the context.beginPath and context.clip functions to make the star ‘hollow’ so the web site is visible inside the star. This is attainable in the canvas by putting the canvas over the html page (inside a floating frame) and having a transparent background, but what if I want, for example, a grid of 10×10 stars all with their own web site? What if I want to scale the size of each web page?
  2. Non rectangular elements/widgets: One thing I tried to tackle with was a circular text editor. This is attainable with the context.beginPath and context.clip functions, with the textentry or textarea in the background, however, the signals are caught by the canvas, and not relayed through to the visible, but nonetheless underlying, textarea or textentry element. It is technically possible to catch each signal, assess it, generate new signals from it, and pass it onto the desired target, but I could not get it to work at all. It would be very useful if there was a way to embed html elements into a canvas shape. [edit] Also, I forgot to mention that one can not shape the actual canvas element. For example if you draw a circle in the middle of the window, the canvas is still a rectangle, and the areas outside of the circle will still occlude underlying content and/or capture user generated events
  • 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-05-20T22:42:09+00:00Added an answer on May 20, 2026 at 10:42 pm

    No, i don’t think canvas does not integrate well witch all the other godly goodness of HTML5 (whatever that is)

    1. Embedding of other websites… Or i’m not getting your point or this is really a very very strange feature to want.

    2. Circular text editor? Embedding HTML Elements inside Canvas?? I’m losing you here…

    I suggest you to read the Canvas specs and to look into some libraries like EaselJS

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Had this working; at one stage. The problem is the following text is now
I had this weird problem a little while ago and haven't been able to
I had this working at some point, as I had a question about this
I had this, which was working fine: public static Integer[] photos = new Integer[]
I had this jquery idle timeout script implemented into a site, thanks to ehynds
I had this problem before and can't for life of me remember how to
I had this nasty bug that disappeared in the past but now after quite
I had this doubt for sometime now, some people say that there's no such
I had this problem some time ago and I gave up but lately it
I had this error when I browse new web site that site sub from

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.