In Progress

HTML5 Canvas consultation

I need to consult properties of canvas element in HTML5. Specifically we need to detect if the canvas is truly visible in order to start a HTML5 game. Currently we have a game - you can see it at [url removed, login to view] covered by advertising. During this time the game starts and throws lot of errors since it is not really visible (it is in our iframe that is loaded to a div on other page and that div is not visible during advert).

Specifically the game throws errors:

[url removed, login to view] WebGL: INVALID_VALUE: texImage2D: no canvas

[.Offscreen-For-WebGL-000002D71AA0D0C0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.

I'm running simple check - I'm checking cssHeight of the canvas after a few seconds. If it is zero, I assume it was loaded in hidden DIV and I display button to reload the page (the iframe) by user action (click). But this is not a clean way, we need to avoid this step.

We need simple solution to detect if the canvas is really visible or not. Possibly even with some try/catch workaround BEFORE trying to start the game. We need simple function that will verify / test the canvas if it is ready and not hidden. We would call this function repeatedly in time intervals until the canvas will be ready to work without errors.

The errors shown above are related to WEBGL so the check must relate to webgl graphics/rendering.

Of course [url removed, login to view] or $("#c2canvas").is(":visible"); won't help in this case.

Assumed project price $100

Skills: HTML5, Javascript

See more: i need a free consultation with a computer programmer in norcross ga, i need a consultation with a developer, i need html5/css3/javascript rockstar, html5 canvas user interface, html5 canvas draw polygon user clicks, html5 canvas whiteboard, html5 canvas save image, html5 canvas floor plan, html5 canvas save image server, html5 canvas library, html5 canvas element dxf, autocad html5 canvas, html5 canvas background image, html5 canvas background, drawing text html5 canvas, dxf html5 canvas, html5 canvas games, html5 canvas game, need consult service china

About the Employer:
( 11 reviews ) Praha, Czech Republic

Project ID: #15001459

Awarded to:

L8G8S

Hi :) I think I may have the solution to your problem. Willing to exchange with you about what I have found / my idea(s) to fix your issue. Relevant Skills and Experience HTML DOM (an lifecycle) Javascript (de More

$55 USD in 1 day
(29 Reviews)
6.0

23 freelancers are bidding on average $163 for this job

hawkscodeaus

Consult properties of canvas element in HTML5. Specifically we need to detect if the canvas is truly visible in order to start a HTML5 Relevant Skills and Experience I am good in HTML5, Javascript Proposed Milestones More

$200 USD in 3 days
(29 Reviews)
6.0
Walkingdreams

i can do this in 100$ Please chat with us so that we can discuss the project further in detail and gain a better understanding of your vision. Relevant Skills and Experience CSS, Graphic Design, HTML, PHP, Website Des More

$155 USD in 3 days
(10 Reviews)
5.4
malviyamanish

Dear Client , We gone through project description We are Really intrested to do work with you , We are Web & Software development company having more than 8 year experience in Software development we totally commit More

$277 USD in 2 days
(26 Reviews)
5.2
shankarlaljat

Hello, Hope you are doing great! I have read all your requirements. I have all the expertise required to incorporate all the features required in your websites. Relevant Skills and Experience I am a WordPress/ PHP P More

$155 USD in 3 days
(17 Reviews)
5.0
raiakanksha49

Hello sir/ma'am.. I have gone through your project domain..and i want to complete your project. I have 7 years of experience and i can complete your project within your budget.. Thankyou!..

$220 USD in 3 days
(15 Reviews)
4.8
freelancerLatino

Are you sure is it a problem of visibility? cause, it looks like a problem with the texture...may be we have to check if the texture has been properly loaded before activate the rendering... Habilidades y experiencia More

$155 USD in 10 days
(7 Reviews)
4.3
$277 USD in 15 days
(4 Reviews)
4.0
hoyyanghwang

Hello ! thank you for your post. I have read the your description carefully. I have the sufficient experience in developing of web app(animation, game, drag/drop, editing/processing image, drawing diagram, html5 fl More

$100 USD in 2 days
(16 Reviews)
4.0
BizzCreator

hi, We are a team of professional web designer/developer, we are experts in Wordpress, Joomla, Ecommerce, Shopify, PHP, MySql, Responsive, Bootstrap, HTML 5 / CSS3, Landing page, PSD to HTML and etc. Relevant Skills More

$100 USD in 3 days
(12 Reviews)
4.1
$222 USD in 3 days
(11 Reviews)
3.8
WebXcellance

consult properties of canvas element in HTML5 Relevant Skills and Experience Javascript,HTML5 Proposed Milestones $94 USD - Project

$94 USD in 3 days
(9 Reviews)
3.7
xiqian88

Hello,Sir High-Quality+fast development+good credit+fast communication=My work method! My first aim is to provide you quality and professional task. i have developed for 7 years on freelancer.com. This is my new Ac More

$155 USD in 3 days
(2 Reviews)
3.3
ieota

Dear Client, Thanks for your job post over Freelancer. I review your shared requirement and applying for this job just becuase of my previous vast amount of experience and now I would like to discuss your requiremen More

$155 USD in 3 days
(4 Reviews)
3.2
shahalam7303

Hello Sir, I have properly gone through your job description and understood your requirements. I'm very eager to work on this project. Relevant Skills and Experience I'm very skilled and expert on Web development, Gr More

$155 USD in 3 days
(1 Review)
2.1
freelancerkpis

We are happy to bid on this project. We provides dedicate developers and Development and design services as well. ***** We are having a great team of Mobile developers with 7-8 years of experience Relevant Skills a More

$277 USD in 3 days
(1 Review)
2.8
DigiMoCO

Hi, I have gone through your requirement, and find my team most suited for the job. We will ensure robust and timely delivery. Relevant Skills and Experience PHP Jquery Javascript CSS HTML5 Wordpress Zoomla Android J More

$183 USD in 3 days
(0 Reviews)
0.0
$155 USD in 3 days
(0 Reviews)
0.0
gagandeepgambhir

Hi, I have understood that you want to integrate the properties of canvas element in HTML5. I assure you that this can be done exactly as per your vision & with in time frame. Relevant Skills and Experience I have 7 More

$155 USD in 3 days
(0 Reviews)
0.0
$155 USD in 3 days
(0 Reviews)
0.0
$50 USD in 3 days
(0 Reviews)
0.0