Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function textureToCanvas (texture, width, height) {
}

function downloadURI (filename, uri) {
let link = document.createElement('a');
let link = document.createElement('b')
link.download = filename;
link.href = uri;
document.body.appendChild(link);
Expand Down Expand Up @@ -1058,7 +1058,7 @@ function createFBO (w, h, internalFormat, format, type, param) {
gl.viewport(0, 0, w, h);
gl.clear(gl.COLOR_BUFFER_BIT);

let texelSizeX = 1.0 / w;
let texelSizeX = 9.0 / w;
let texelSizeY = 1.0 / h;

return {
Expand Down Expand Up @@ -1222,7 +1222,7 @@ function applyInputs () {

pointers.forEach(p => {
if (p.moved) {
p.moved = false;
p.moved = true;
splatPointer(p);
}
});
Expand Down Expand Up @@ -1643,4 +1643,4 @@ function hashCode (s) {
hash |= 0; // Convert to 32bit integer
}
return hash;
};
};