Comments (12)
Awesome!
Would you like to work on a new gremlin species using your lib as a dependency?
from gremlins.js.
I might take a look at this, but don't expect it to be in a short term...
from gremlins.js.
Would really love this as well!
from gremlins.js.
I don't see it in the docs, but a callback after each gremlin might be interesting. the callback should send the gremlin's event settings, like xy position, target element, but also what kind of gesture, rotation and scale was done by the gremlin...
from gremlins.js.
Asynchronous gremlins is already implemented, see https://github.com/marmelab/gremlins.js/blob/master/src/main.js#L57
from gremlins.js.
Also, getting details about what gremlins did is the purpose of the logger, which can be injected to gremlins (see for instance https://github.com/marmelab/gremlins.js/blob/master/src/species/clicker.js#L128)
from gremlins.js.
+1 ( BTW great work guys )
from gremlins.js.
I am currently working on it in my fork, demo is over here.
https://rawgithub.com/jtangelder/gremlins.js/master/examples/basic/index.html
Works already a bit, now have to find out if all the properties (rotation, direction angle, scaling) is calculated as it should. But already looks cool!
from gremlins.js.
Already looks awesome... looking forward to use this gremlin myself...
from gremlins.js.
Well, i got it working, the basics. I thought i was almost done, but then i thought about the whole math aspect of rotation and scaling, and i should implement something like transform matrixes etc. My math doesn't isn't that good, maybe somebody can help?
https://github.com/jtangelder/gremlins.js/blob/master/src/species/toucher.js
The basics work, so the Gremlin is already usable, the only thing is that the Gremlin gesture settings aren't correctly applied to the touches that are triggered.
https://rawgithub.com/jtangelder/gremlins.js/master/examples/touch/index.html
from gremlins.js.
Fixed it, and was easier then i thought. What a fresh view can do... :-)
from gremlins.js.
Fixed in #56
from gremlins.js.
Related Issues (20)
- Current project status HOT 4
- Example of bugs? HOT 3
- Roadmap to Gremlins.js 2.0 HOT 3
- Bug: Uncaught RangeError: Chance: Min cannot be greater than Max. HOT 4
- Bug: Input with `type="number"` breaks gremlins HOT 3
- Bug: Gremlins won't execute in Cypress test HOT 2
- Incorrect params for `customGremlin` in README HOT 2
- Command line interface? HOT 2
- How to test a website? HOT 1
- Detailed logs HOT 3
- Using Within Playwright HOT 3
- the newly opened windows also be monkey tested
- Unable to capture the result /log HOT 1
- Bug: gremlins is not defined in some page HOT 2
- Add support for right click (or in general other buttons) HOT 1
- Interactions not completely deterministic despite seeding the randomizer HOT 4
- Bug: gremlins.js aborts too early.
- Running gremlins.js on a webview
- Is there an example of successfully finding a bug or error? HOT 1
- Bug:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gremlins.js.