Is there a way to run JavaScript Draw functions on a standard Graphics card? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there a way to run JavaScript Draw functions on a standard Graphics card?

My Laptop is running on a standard Intel HD Graphics card, it gives errors about not being able to render draw () functions or functions like pattern, is there something I could install to remedy this? or a setting I could change? I'm on Windows 10 with 4GB DDR3 L Ram

22nd Dec 2017, 7:52 AM
William Mabotja
William Mabotja - avatar
8 Answers
+ 5
What functions do you mean?
7th Jan 2018, 7:16 PM
The Coding Sloth
The Coding Sloth - avatar
+ 2
Hmm, JS does not have built in 3D shapes (I think).
12th Jan 2018, 5:50 PM
The Coding Sloth
The Coding Sloth - avatar
+ 1
Draw();
12th Jan 2018, 5:34 PM
William Mabotja
William Mabotja - avatar
+ 1
standard JavaScript graphic functions
12th Jan 2018, 5:34 PM
William Mabotja
William Mabotja - avatar
+ 1
gradients work fine, including shapes. just that patterns don't execute and some more advanced graphics like 3D shapes don't execute
12th Jan 2018, 5:36 PM
William Mabotja
William Mabotja - avatar
0
Image drawing like this function draw(){ //from image.html var drawing = document.getElementById("drawing"); var con = drawing.getContext("2d"); var goofyPic = document.getElementById("goofyPic"); con.drawImage(goofyPic, 0, 0, 50, 50); var image2 = new Image(); image2.src = "andyGoofy.gif"; con.drawImage()
12th Jan 2018, 5:58 PM
William Mabotja
William Mabotja - avatar
0
it says the browser could not render the image
12th Jan 2018, 5:59 PM
William Mabotja
William Mabotja - avatar
0
Sorry not 3D I meant TRANSFORMATIONS, But I do get problems with 3D Transformations in CSS
12th Jan 2018, 6:02 PM
William Mabotja
William Mabotja - avatar