patuwwy / shadertoy-chrome-plugin Goto Github PK
View Code? Open in Web Editor NEWWeb extension for shadertoy.com
Home Page: https://github.com/patuwwy/ShaderToy-Chrome-Plugin
License: Other
Web extension for shadertoy.com
Home Page: https://github.com/patuwwy/ShaderToy-Chrome-Plugin
License: Other
I just can no longer bear with sound of shadertoy videos. and their could be in several browsers tabs at the same time, in several shadertoy buffers.
an option to mute shadertoy, or just shadertoy videos, would be great.
another plugin allows it, but it would make sense to have this feature in your set of goodies
if I bring the time slider at the very position where I want to observe something (e.g. my bug), at mouse release the time change by a tick
Save shader current state (code/inputs) on local machine.
It will allow to keep shader history and (view/restore) shader if necessary.
Hi Patu!
I've seen that the original redirect after login on shadertoy does not work properly if the plugin is enabled. I think they are using the last requested URL to redirect back after a successful login. The plugin somehow makes https://www.shadertoy.com/img/topbackground.png the last request and so st redirects to this file after login.
when going fullscreen, iMouse.xyzw is reseted, and this is due to extension.
This is bad ( e.g. to inspect some special configuration by going fullscreen , or also in some games I guess ).
typo: ToyPlugEditPage.prototype.decraseRes
should be 'decreaseRes'
very often, shadertoy disconnect while we are modifying code.
worse: sometime we forgot to log in and we cannot save our new shader (very painful if multiple buffers and textures).
-> it would be very useful to have a "(re)connect" button
It is possible that declared permission "tabs" in manifest.json is not required.
Something horribly wrong happened twice to me today:
after fork, save created the same Id as the original, erasing it !
in profile, 20% of missing icons for draft/private shaders
patu, thanks for a great tool! What is the license? I can't find it anywhere. MIT? WTFPL? CC-BY? I am working on a pull request for ZIP download (for easier scene.org upload) and would like to make sure I don't incorporate code that's not compatible with your plans. Thank you!
preempting simple key events like arrows is not so nice, for many shaders need them.
-> at least you should let users switch off or edit control keys (at least for these ones).
"fullscreen edit" does not work in fullscreen mode
For example, swap all contents (code, inputs) from buf A with contents of buf B.
Somehow with the dark color scheme enabled, code containing #define ... can not be edited properly. (chrome, win8.1)
in the profile page, iq had added the icon image, then a week ago recently he has "optimized the page".
since, I have the feeling that the plugin can no longer sort by date, type, etc ( run forever ).
I'm getting (chrome, win8):
Uncaught TypeError: Cannot read property 'appendChild' of null
at ShaderTile.createHTML (shadertoy-plugin-profile.js:226)
at new ShaderTile (shadertoy-plugin-profile.js:204)
at TilesView.parseRow (shadertoy-plugin-profile.js:183)
at Array.map (<anonymous>)
at TilesView.getShaders (shadertoy-plugin-profile.js:179)
at TilesView.waitForShaders (shadertoy-plugin-profile.js:162)
when I visit my profile page and it does not fill the sections (headlines visible above list).
Might come from a shadertoy update, not sure.
any video mapped in any tab will noise around.
the button under the window is only for the sound shader.
how could it would be to really have a "shut up" button ! :-)
( don't know if it's easy to do ).
in the interface or anywhere else
in profile, your save backup button appears only when ready to save. In big profiles, this can be after several minutes, so people might not even know the feature exist.
-> suggestion: make it appear immediately in grey (or writing "please wait").
to show images on the forum, especially grabs to show bugs to a shader writer, we have to save the image locally, upload it to some hosting site like http://www.hostingpics.net/ , get a direct usable link, then in shadertoy forum enter [img] url [/img] ( without error or it display wrong and there is no delete button).
-> it would be great to ease user work here.
suggestion 1: add an "insert image" button, that open a file requester and manage sending image to some hosting site then create the [img]...[/img] entry in the forum.
suggestion 2: add a "insert grab" button that grab shader image, send it to some hosting site then create the [img]...[/img] entry in the forum.
To ease good practices and solve lack of foreseeing and thinking, I suggest that at fork a first comment line be added tracing the fork. Like, original url, owner, maybe date of fork.
(a clue could be given also on shader title and description, but limited length make it uneasy, and the code itself is the most important anyway).
If I fork one on my perfmeter ( like https://www.shadertoy.com/view/lllfz7 ) I freeze and crash webGL.
ok, my perfmeters are special: very costly + test GPU power at first frames.
you permit to clone our own shader. But it would be very useful too allow clowning any shaders, not only ours.
Snippets editor for easy paste code fragments (common methods, header, for example)
time + mouse control sliders (and especially the later) takes a lot of room in the window while not always used (especially the later).
Suggestion: putting the whole thing (or just the mouse part) in a collapsed
For backup reasons (and others) it would be nice to have a button to download all shaders (json files) from the profile - maybe zipped or combined to one big json file.
What do you think?
a lot of users don't even know about BBcodes in shader forums.
Still, typing [url]...[/url] or code or img is cumbersome and often prone to typo (and their is no edit or delete button onces sent).
suggestion: below the text entry box for the foum, add buttons for auto-filling (main) BBcodes.
variant1: just autotyping [code] [/code] (with spaces so that it's easy to click at the middle to put content)
variant2: open a requester (especially for url,img,video) and autotype the result
it sure should be shadertoy team to do the job, and their layout is surely temporary (well, for how long), but there layout is often doing very poor use of the window.
E.g. the shaders list in profile is scrolling through a ridiculously fix and small number of lines, whatever the size of the window. don't know how easy it would be to let the block free of using the full window height.
Not redirecting to signin page.
many people forget to make url clickable in description and forums. would be cool to make them clickable.
on large screens, small windows, or maybe due to poor font mapping on some systems, the default font size can be ridiculously small in shader description, and shader forum.
some magic key or plugin option could allow to enlarge fonts.
if an auto-recognized URL finished by '.' , dont take the '.' ;-)
( I don't know if you already treat other characters like ',' ';' ')' )
If I don't messup, I guess all your sorting entries are now natively provided.
( still, we can't sort draft shaders by date... because they have no date :-( . )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.