A Brief Background

The first thing you might be asking is, “What is react-three-fiber?”. According to the documentation:

“react-three-fiber is a React renderer for three.js on the web and react-native”.

The renderer is responsible for rendering React components to the DOM and native views. This means that we are able to create regular React components and let react-three-fiber handle converting those components into three.js primitives (3D objects).

Now the next thing you might be asking is, “Uh… what is three.js?”. Another snippet taken from the documentation gives us that answer:

“Three.js is a 3D library that tries to make it as easy as…

GitHub Pages is an excellent place to host a site for your portfolio or a project, but another helpful use for it is to host JSON API data. Most of the time this isn’t necessary as you can make API calls to a server as you normally would, but there are limitations to that. API’s will typically limit your calls per day, only return a set amount of data, or even cost money to use. But say you have the downloaded JSON file with every data point you need and you just want to use that information for your project…

Learning about Osascript started with me wanting to be able to control the play button of Spotify without having to leave my Terminal. I ended up going down a rabbit hole of what’s possible with quality-of-life scripts that you can write on your computer, so I’ll keep it brief and surface level. Here’s a definition from the SS64 website:

“Execute AppleScripts and other OSA language scripts. Executes the given script file, or standard input if none is given. Scripts can be plain text or compiled scripts. …

With how intensive coding can be, a bit of lightheartedness goes long way with easing the stress. And since we basically don’t leave our chairs until the work is done, why not make our Terminal throw insults at us if the wrong commands are typed in? Lets get started!

When something incorrect is typed into the Terminal, you’re normally greeted with this:

Navigating through your directories can be done on separate lines in your Terminal. But this is inefficient.

Victor Scholz

Full Stack Developer | React | JavaScript | Ruby on Rails

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store