ctrlmonster / r3f-effekseer Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Laser01.efk
my code
<Effekt ref={laserRef}
debug
name={"Laser01"}
src={laser1Url}
dispose={null}
position={[-2, 0, 0]}
scale={[0.5, 0.5, 0.5]}
speed={1}
targetPosition={[0.0,2.0,0.0]}
/>
First click on the orange sphere geometry, and then click on the hotlink, Laser02 has replaced the original Laser01.
This is really a cool thing, I tried to create some interactive scenes with it.Looking forward to NPM pkg.
Thanks for this amazing wrapper for R3F!
Here is my feedback on what could be useful to have.
In the Effect Props:
loop
-> being able to loop once it endsonEnded
-> a callback when the animation is finished.In the forwarded ref:
time
-> to know where the play head islength
-> to know the animation durationI will update the list if I have other things coming to my mind ๐
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.