This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float greyScale(in vec3 col) { | |
return dot(col, vec3(0.2126, 0.7152, 0.0722)); | |
} | |
void mainImage( out vec4 fragColor, in vec2 fragCoord ){ | |
vec2 q = fragCoord.xy / iResolution.xy; | |
vec3 col = texture(iChannel0, q).rgb; | |
vec3 res = vec3(greyScale(col)); | |
fragColor = vec4(res, 1.0); | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tench, Tinca tinca | |
goldfish, Carassius auratus | |
great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias | |
tiger shark, Galeocerdo cuvieri | |
hammerhead, hammerhead shark | |
electric ray, crampfish, numbfish, torpedo | |
stingray | |
cock | |
hen | |
ostrich, Struthio camelus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Person(var firstName: String, var lastName: String) //model | |
class MainActivity : AppCompatActivity() { //view + controller | |
private var model: Person = Person("Adrian", "Catalan") | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
btnShowGreet.setOnClickListener { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface View { | |
fun setGreeting(greeting: String) | |
} | |
interface Presenter { | |
fun onDestroy() | |
fun getGreeting() | |
} | |
interface Interactor { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface View { | |
fun setGreeting(greeting: String) | |
} | |
interface Presenter { | |
fun onDestroy() | |
fun getGreeting() | |
} | |
class Person(var firstName: String, var lastName: String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Boards.h - Hardware Abstraction Layer for Firmata library */ | |
#ifndef Firmata_Boards_h | |
#define Firmata_Boards_h | |
#include <inttypes.h> | |
#if defined(ARDUINO) && ARDUINO >= 100 | |
#include "Arduino.h" // for digitalRead, digitalWrite, etc | |
#else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://telescopio.galileo.edu/curso/desarrollo-de-aplicaciones-para-android/ | |
Las presentaciones están en https://speakerdeck.com/ykro y el código en https://github.com/ykro | |
Semana 1 | |
https://github.com/ykro/androidmooc-clase1 | |
http://www.youtube.com/playlist?list=PLwZVPRbWJRU2yKLLk3G-3FlQnSFXmuMEt | |
http://www.youtube.com/playlist?list=PLwZVPRbWJRU3aghfi0XsLDRutRdQ4euZ3 | |
Semana 2 | |
https://github.com/ykro/androidmooc-clase2 |