Skip to content

Commit 4c44d39

Browse files
committed
adding square for text
1 parent 946107c commit 4c44d39

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

videosOrginalFuncional.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ function setup() {
303303

304304

305305
function draw() {
306+
307+
306308
background(0, 50); //antes 50
307309
menuComands();
308310

@@ -365,11 +367,11 @@ function draw() {
365367
// switchCameraAndVIdeo();
366368

367369

368-
if (OnlyCamera) {
369-
renderCamera();
370-
} else {
370+
// if (OnlyCamera) {
371+
// renderCamera();
372+
// } else {
371373
renderVideos();
372-
}
374+
// }
373375

374376
// extraText();
375377

@@ -378,14 +380,21 @@ function draw() {
378380
if (resultsReady) {
379381
// DoTextHiperpoesia();
380382
// console.log(rnnSub);
383+
384+
//cuadradito para subtitulos
385+
fill(0, 10);
386+
rect(0, windowHeight - 160, windowWidth, 200);
387+
381388
DoText();
382389
// talk();
383390

391+
384392
if (writingOutput) {
385393
writer = createWriter(month() + "/" + day() + "/" + year() + "_" + 'latinPage' + "_" + ".txt"); // texto en donde escribir
386394
}
387395

388396
}
397+
389398
}
390399

391400
// ------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)