Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
Dibuja un triángulo isocele según el ángulo en el lienzo de javascript

Quisiera saber como puedo dibujar un triangulo isocele en lienzo, si conozco el primer angulo, y las longitudes de los dos lados iguales.

Shemá (las longitudes conocidas están en rojo)

Y segunda pregunta, ¿es posible curvar el lado superior así?

Shemá

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

 var canvas = document.getElementById("canvas"); canvas.width = 500; canvas.height = 500; var ctx = canvas.getContext("2d"); ctx.closePath(); ctx.save(); function drawPie(ctx,centerX, centerY, radius, startAngle, endAngle ){ ctx.beginPath(); ctx.moveTo(centerX,centerY); ctx.arc(centerX, centerY, radius, startAngle, endAngle); ctx.closePath(); ctx.stroke(); } drawPie(ctx, 200,200,200, -0.65*Math.PI, -0.60* Math.PI + Math.PI/4);
 <canvas id="canvas"></canvas>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!