CodingTrain / CodingTrain/Suggestion-Box

Series about p5.js on mobile devices

Aperta
#905 0 commenti 1 reazione 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've seen there are a ton of methods in the p5 reference about the rotation, acceleration and other properties of a mobile device.

*I think it would be very inspiring to see a couple of examples* what to do with this, because, at least for me, I use my phone more than my laptop and having that high precision accelerometer unused is just a shame.

This could be a 10-min video about how to use this (just like 10 Print), or a longer series with many examples. For better viewability you could use the iPad you've been using as a soundboard in the past.

I encourage everyone to add other ideas, here are some I came up with:

## A Level for hanging pictures
Maybe good for a starter: The screen shows the angle of the device, so if you put the edge on a table it will say 0°, feel free to use radians ;)

## Pendulum
An ellipse connected to a line, hanging off the top/center of the screen, which always hangs downwards, even if the device is tilted. (If the device is moved sideways, the pendulum will accelerate and start swinging.)

## Marble on a Plate
Click the screen and a marble (ellipse) will appear. Depending on the rotation of the device it will roll off in a certain direction

### Marble in a Maze
create a small maze with [CC#10](https://github.com/CodingTrain/website/tree/master/CodingChallenges/CC_10_Maze_DFS_p5.js) and place the marble at the start, try to get to the end (without touching the borders)

### [Pong](https://github.com/CodingTrain/website/tree/master/CodingChallenges/CC_67_Pong_p5.js) vs. Computer
Sideways rotation of device --> position of slider

## Make something happen when you shake the device

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia esaminando il materiale di riferimento di p5 sulla rotazione del dispositivo, l’accelerazione e lo scuotimento, insieme agli esempi collegati CC_10 Maze DFS e CC_67 Pong. Il lavoro sarebbe considerato completato con un ambito della serie concordato e con esempi o contenuti video per dispositivi mobili completati; l’issue non identifica file o test specifici.

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

Valutazione

Stack tecnologico
javascript
Ambito
content, mobile-dev
Tipo di issue
Documentazione
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.