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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:50:55+00:00 2026-06-06T04:50:55+00:00

There is a site with a neat canvas program that I’d like to play

  • 0

There is a site with a neat canvas program that I’d like to play with. I’m new to canvas and html, but I think it works by having the canvas element programmed separately and called by a tag in the html. I have three questions:

Can I download and isolate the canvas element?

Is there a way to view the canvas source from a browser?

If a decompiler is necessary, is there one that will work for java script and other elements too?

  • 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-06T04:50:56+00:00Added an answer on June 6, 2026 at 4:50 am

    Canvas is an HTML element that is made useful by writing procedural JavaScript to produce figures, animations, effects and so on.

    You can view the source code – that is, the JavaScript – by opening developer tools in your browser (typically F12) and exploring the .js files.

    Here’s an isolated page with a very small canvas application that you can view the source for:

    http://simonsarris.com/project/canvasdemo/shapes.html

    There is also a tutorial explaining all of the source that is linked to from that page.

    Opening the Google Chrome devloper tools with F12 we can see:

    enter image description here

    There’s one JavaScript file called shapes.js and it houses all of the code that makes up the canvas app.


    Isolating a canvas is another problem entirely. Let’s have a look at this page from the New York Times:

    http://www.nytimes.com/interactive/2012/06/11/sports/basketball/nba-shot-analysis.html

    If you open developer tools here you’ll realize that there is an enormous amount of JavaScript running, much of it obfuscated, and its very hard to determine by eyeballing just what code is driving the canvases that make up their neat graphic.

    We can do something though. We can go to the “Elements” page of the Developer tools and search for the appropriate <canvas> tag there. Once we have it, we can look at its properties such as the id (<canvas id="SearchForMe"></canvas>).

    Then in developer tools we can go back to the Scripts page and press CTRL+SHIFT+F to search across files, and we’ll be able to search for the ID of the canvas or some other unique marker. (sometimes we need to search for the div that holds the canvas instead)

    There’s another tool that will help here. Look at my screenshot, at the very bottom is a button that looks like { }. This attempts to turn obfuscated code into pretty print for much greater human readability. It will often help you parse the code you’re looking at.

    Anyway, hope that helps.

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

Sidebar

Related Questions

Is there a site like try ruby that allows one to experiment in an
Is there a site that would allow you to search for arrow, for example,
from this site there is header compress.h http://www.fredosaurus.com/notes-cpp/examples/compress/compress.html i am using visual c++ 2010
I am very new to Ajax technique Is there any site or online documents
Is there a web site or tool that will convert a piece PHP code
Is there an ide/site that I can use to analyse code below and get
I have a site where there will be a list of offers that the
Is there any site for technical books reviews and comments. So that it is
Is there any site that show both OpenID and normal login on the same
Is there a site anywhere that documents all standard JavaScript DOM methods, events and

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.