So I'm messing around with trianglify.js.
My aim here is that when the mouse moves my trianglfied canvas' variance will change.
In theory fine but in practice it's not really taken I have tried a few different code formats but just can't actually…
I am learning Ember, and have hit a roadblock when it comes to using an script dependency in my ember route. I have included the bower dependency Trianglify.js in my application using app.import() in…
I'm trying to generate triangle-pattern backgrounds server-side (ruby) using trianglify.js and gem 'therubyracer' (also tried execjs - same error)
I use the following code
require 'v8'
cxt = V8::Context.new
cxt.load('trianglify.js')
png =…
I am using an SVG element on page A with a href link to page B-- page B has a script that calls the Trianglify api to generate the background.
However, if you navigate to page B by clicking this link, the script doesn't trigger. If you refresh the…
i want to set Trianglify js for a SVG background but i can't.
i can set for a div with the following codes :
var something = document.getElementById('portfolio');
var dimensions = something.getClientRects()[0];
var pattern =…