Click here to Skip to main content
15,559,155 members

Comments by three three (Top 3 by date)

three three 6-Apr-22 19:06pm View    
Can you contact me with this email? layanmanl123451234@gmail.com
Because the code does not appear in full here
three three 6-Apr-22 18:57pm View    
Deleted
html>



<canvas id="her" width="600px" height="600px" style="border:4px solid black">
three three 6-Apr-22 18:56pm View    

<canvas id="her" width="600px" height="600px" style="border:4px solid black">


var la = document.getElementById("her");
var ra =la.getContext("2d");

var img = new Image ();
img.scr='canvas - createpattern.png';
img.onload = function (){

var pattern = ra.createPattern(img,'repeat')

ra.fillStyle= pattern ;





};

img.scr="file:///C:/Users/TOSHIba/Downloads/html/her123/her1.html"

ra.beginPath();





for (var i = 0; i < 2 ; i++) {


ra.moveTo(255,115)
ra.bezierCurveTo ( (293),(39), (497), (133), (294) , (323));









ra.moveTo(255,115);
ra.bezierCurveTo ( (169), (33), (113), (138), (294), (323));


ra.fill();




ra.fillStyle="#000000";
ra.lineWidth= 3;
ra.fillRect(0,0,600,600);














ra.fillStyle = '#050505';
ra.strokeStyle='#ef42f5';








































ra.fill();

ra.stroke();
ra.endpath();


}













































Weird, it worked for me