shuding / cobe

5kB WebGL globe lib.
https://cobe.vercel.app
MIT License
3.15k stars 169 forks source link

draggable & rotate-to-location with Vanilla js #51

Closed yejigd closed 1 year ago

yejigd commented 1 year ago

Hi, this is the Lib I was looking for!! Are there any examples of vanillajs code for draggable & rotate-to-location?

I don't know the react, so I'm having a hard time applying it 😢

wobsoriano commented 1 year ago

Vanilla Cobe with Drag and Rotate feat: Stackblitz

yejigd commented 1 year ago

@wobsoriano Thank you for the perfect demo!! I'm really sorry, but if possible, could you post an example of Js about Rotate to Location?

yumin-jung commented 1 year ago

Vanilla Cobe with Rotate to Location feat: Stackblitz I changed only a few lines of code from @wobsoriano's code. I hope this helps!!

yejigd commented 1 year ago

@yumin-jung Thank you so much. It helped a lot!!