Skip to content

Instantly share code, notes, and snippets.

View JuanOlaya's full-sized avatar
🎯
Focusing

Juan Olaya JuanOlaya

🎯
Focusing
View GitHub Profile
{
"platforms":
[
{
"width": 360,
"speed": 7.0
},
{
"width": 230,
"speed": -8.0
{
"platforms":
[
{
"width": 290,
"speed": 3.0
},
{
"width": 340,
"speed": 2.4
/*
by Juan Olaya
https://juanolaya.github.io/
*/
p5 = new P5()
tiempoInicio=0;
entra=false;
/*
Example of Object Oriented Programming (OOP) using Hydra
Objects of the Class Ball stored in an array
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ejemplo de Programación Orientada a Objetos usando Hydra
Objectos de la Clase Ball almacenadas en un arreglo
++++++++++++++++++++++++++++++
Hydra
https://github.com/ojack/hydra
*/
/*
Example of Object Oriented Programming (OOP) using Hydra
Objects of the Class Ball stored in an array
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ejemplo de Programación Orientada a Objetos usando Hydra
Objectos de la Clase Ball almacenadas en un arreglo
++++++++++++++++++++++++++++++
Hydra
https://github.com/ojack/hydra
*/