colinmeinke / wilderness

An SVG animation API
https://wilderness.now.sh
MIT License
154 stars 8 forks source link

DOM decoupling? #72

Closed wcandillon closed 5 years ago

wcandillon commented 5 years ago

Is it possible to use this function without the DOM? For instance, I would like to use it in React Native

wcandillon commented 5 years ago

https://github.com/colinmeinke/svg-tween seems to be decoupled nicely from the dom. Is it possible to do the same with this library?

colinmeinke commented 5 years ago

This repo is the DOM implementation. All the core functionality is at https://github.com/colinmeinke/wilderness-core, which doesn't rely on the DOM. That repo isn't well documented, so you'll probably need to reference this repos src files to work out how to make a similar implementation for react native https://github.com/colinmeinke/wilderness/tree/master/src.

wcandillon commented 5 years ago

Awesome thks

On Mon, Oct 15, 2018 at 12:38 PM Colin Meinke notifications@github.com wrote:

Closed #72 https://github.com/colinmeinke/wilderness/issues/72.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/colinmeinke/wilderness/issues/72#event-1903703864, or mute the thread https://github.com/notifications/unsubscribe-auth/AASr1p2f0tQ8IOtslJTc86SMZ5zvZl62ks5ulGWOgaJpZM4XbEGO .