Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controls Documentation #23

Closed
MikeBannon opened this issue Feb 20, 2018 · 1 comment
Closed

Controls Documentation #23

MikeBannon opened this issue Feb 20, 2018 · 1 comment
Labels

Comments

@MikeBannon
Copy link

Hi,

Was just wondering if there was any documentation for controls on the text element e.g. on the home page being able to determine colour split location dependant on mouse action. I've looked but can't seem to find anything regarding this, sorry if I've missed it. Any help would be appreciated.

Thanks in advance, Mike. #

@bradley bradley added question and removed question labels Feb 20, 2018
@bradley
Copy link
Owner

bradley commented Feb 20, 2018

I believe what youre looking for is here:

http://blotter.js.org/#/materials

There is also general documentation for behaviour all materials conform to in the documentation which you can find here:

http://blotter.js.org/#/documentation

How you decide to set material uniforms is left up to you. There is an existing gist for how the homepage effect works which you can see here (whether or not you want to adjust that script to work with the window and not just the text canvas is, again, up to you):

https://gist.github.com/bradley/863aae88496409ed5801ba69e23568c2

@bradley bradley closed this as completed Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants