Posts by Giovanni Desiró • 47 points
3 posts
-
3
votes2
answers267
viewsQ: Capture RGBA values
I have an RGBA value that takes the color of a color palette. I need to get the separate values of each color component of the RGBA. I created 3 variables: var vermelho = (/*Tem que receber a…
-
0
votes1
answer335
viewsQ: Canvas painting
I have this code below in HTML, CSS and Javascript, and I’m using a Javascript library called Three.js. I am having a problem to perform an insertion in the code. This code makes paintings on Planes…
-
1
votes1
answer863
viewsQ: Button to enable drawing and clear canvas
// forked from makc's "Simplify this three.js drawing exmple" http://jsdo.it/makc/zXNX var mouse = { x: 0, y: 0, down: false }; var scene, camera, renderer, raycaster = new THREE.Raycaster (), mesh;…