Giter Site home page Giter Site logo

patuwwy / shadertoy-chrome-plugin Goto Github PK

View Code? Open in Web Editor NEW
236.0 12.0 29.0 10.85 MB

Web extension for shadertoy.com

Home Page: https://github.com/patuwwy/ShaderToy-Chrome-Plugin

License: Other

JavaScript 94.81% CSS 3.77% HTML 1.42%
glsl-shaders shaders javascript webextension shadertoy

shadertoy-chrome-plugin's Introduction

shadertoy-chrome-plugin's People

Contributors

dakotys avatar ethanopus1io avatar movax13h avatar p-falba avatar patuwwy avatar wrightwriter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shadertoy-chrome-plugin's Issues

suggestion: mute shadertoy

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.

issue: precise time positionning

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

bug: mouse resetted at full-screen

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 ).

suggestion: emergency connection

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

Which license?

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!

leave arrow keys alone ! :-)

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).

Swap buffers

For example, swap all contents (code, inputs) from buf A with contents of buf B.

bug ? profile display

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 ).

new incompatibility on profile page?

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.

suggestion: mute shadertoy

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 ).

suggestion: make "backup" button immediately visible

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").

suggestion: image upload for forum

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.

suggestion: at fork, keep track as first comment

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).

request: clone any shader

you permit to clone our own shader. But it would be very useful too allow clowning any shaders, not only ours.

Snippets

Snippets editor for easy paste code fragments (common methods, header, for example)

suggestion: foldable panel for time+mouse control

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

with a side button to uncollapse it.

suggestion: download all

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?

suggestion: BBcode buttons

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

suggestion: using all page for profile

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.

suggestion: clickable url

many people forget to make url clickable in description and forums. would be cool to make them clickable.

suggestion: enlarge font size

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.