hydra-synth / hydra

Livecoding networked visuals in the browser
https://hydra.ojack.xyz
GNU Affero General Public License v3.0
2.16k stars 264 forks source link

Why are external canvases being aliased? #33

Closed jarmitage closed 5 years ago

jarmitage commented 5 years ago

Some downsampling / aliasing seems to occur when passing a video or canvas into Hydra, e.g.:

https://github.com/ojack/hydra-examples/blob/master/5-video.js#L9

https://github.com/ojack/hydra-examples/blob/master/6-p5.js#L52

screenshot 2019-01-03 at 15 33 16
jarmitage commented 5 years ago

If you want higher res textures you need to override these: https://github.com/ojack/hydra-synth/blob/master/example/src/canvas.js https://github.com/ojack/hydra/blob/master/hydra-server/app/src/canvas.js

ojack commented 5 years ago

Got rid of default resolution so this should be fixed!