Updating a Scene from a React Page (Demo and Blog Post)

Hey folks,

I’m very new to the world of Babylon JS. I’ve just stopped in to say hello and share something.

I wanted to incorporate some simple Babylon js demos into a Gatsby powered blog. After some tinkering I managed to get something super simple working and wrote up a blog post explaining how I got there.

You can find the demo here. This is about as simple as it gets, in fact it’s almost identical to the documentation for Babylon in React. It’s a spinning cube. But, it speeds up or slows down when you click buttons on the React js page.

https://bigtexhog.com/babylonjs-hand-inserted/
And the related blog post here
https://bigtexhog.com/babylonjs-react-gatsby

I hope it’s helpful for someone!

1 Like

Hello, welcome and thanks a lot for sharing! This is a great example!

1 Like

Did you tweet about your blog? If yes please share the link and I will retweet with the official Babylonjs account :slight_smile:

Thank you for the kind welcome!
I haven’t been tweeting much the past few years, so my twitter account is a rather dusty place, but if you’d like to share the link you can tag @BeCircle - or just tag me by my name/github handle, or even as Big Tex Hog - which is a recently pseudonym :slight_smile:

1 Like