CodingTrain / CodingTrain/Suggestion-Box

Coding Challenge - How much can you squeeze out of "Fifteen Lines of Code"

Offen
#623 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
570
Forks
85
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

As a teacher I am always trying to give my younger school pupils small code examples to work from. For fun I sometimes give them fifteen lines to "play" with.

So a challenge - how much animated interactive functionality can you get out of fifteen "uncluttered" lines?

For example;
```javascript
function setup() {
createCanvas(600, 600);
}

function draw() {
translate(width/2, height/2);
for (i = 1; i <= 25; i++) {
for (j = 1; j <= 10; j++) {
rect (j*10, 0, i*j, i*j);
fill (i*10, j*25, random(mouseX/2), mouseY/2);
strokeWeight(j);
rotate (frameCount/(mouseX*10));
}
}
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with the JavaScript example's setup() and draw() entry points, including createCanvas, animation, mouse input, and drawing operations. The issue proposes a fifteen-line interactive challenge but does not identify a file, test, implementation scope, or concrete acceptance criteria, so the desired completed contribution is not defined.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
computer-graphics
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.