TouchShield Slide, MeCap lithium backpack, DoubleWide extender shield, some mini-breadboards and a 3-axis accelerometer arrived from Liquidware some time last week. Made a “snow” program based on this one which I think is pretty much exactly the same except that one has a larger “brush size” when pressing on the screen.
#include #define HEIGHT 240 #define WIDTH 320 POINT dot; void setup() { setBrightness(0); background(255); stroke(255); fill(255); } void loop() { if( touch_getCursor(&dot) ) { noStroke(); fill(0); ellipse(dot.x,dot.y,3,3); stroke(255); fill(255); } ellipse(random(WIDTH),random(HEIGHT),1,1); }
Oh wow you start your exclamation marks with the dot.
LikeLike
I think it should be like a light blue when you write..
LikeLike