CodingTrain / CodingTrain/Suggestion-Box

Series about p5.js on mobile devices

Abierto
#905 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
570
Forks
85
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza revisando el material de referencia de p5 sobre la rotación, la aceleración y el movimiento de agitar el dispositivo, junto con los ejemplos enlazados CC_10 Maze DFS y CC_67 Pong. Se consideraría completado cuando haya un alcance acordado para la serie y ejemplos o contenido de vídeo para dispositivos móviles terminados; el issue no identifica archivos ni pruebas específicos.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
content, mobile-dev
Tipo de issue
Documentación
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.