CodingTrain / CodingTrain/Suggestion-Box

Issue with p5.js

Aperta
#1,301 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
570
Fork
85
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am trying to create 2 canvas on my HTML page and on each canvas i need to draw polygons. the points(x1,y1,x2,y2,.....,xnyn) of the polygons will be fetched from the json file. However, when i am hard-coding the points in my sketch.js file then i am able to draw the polygons but when i am trying to pull it through json, i am not able to do it. Please help me with this issue, really urgent.

Also let me know if possible i will share my code so that it will be easier to resolve it. If i can have your email id, will be really helpful to communicate.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inspect the referenced sketch.js and the JSON data used for the two HTML canvases, then reproduce the difference between hard-coded polygon points and points loaded from JSON. Done means both canvases draw their polygons from the fetched data; the issue does not provide enough code or a test to identify a more specific starting point.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
html, json
Ambito
frontend, web-dev
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.