(mode, bgCol)
| 1362 | }); |
| 1363 | |
| 1364 | var mixAndReturn = function(mode, bgCol) { |
| 1365 | myp5.background(bgCol); |
| 1366 | myp5.blendMode(mode); |
| 1367 | myp5.fill(255, 0, 0, 122); |
| 1368 | myp5.plane(10); |
| 1369 | myp5.fill(0, 0, 255, 122); |
| 1370 | myp5.plane(10); |
| 1371 | return myp5.get(5, 5); |
| 1372 | }; |
| 1373 | |
| 1374 | test('blendModes change pixel colors as expected', function() { |
| 1375 | myp5.createCanvas(10, 10, myp5.WEBGL); |
no test coverage detected