Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Hackster is hosting Impact Spotlights: Industrial Automation. Watch the stream live on Thursday!Hackster is hosting Impact Spotlights: Industrial Automation. Stream on Thursday!
karlee theodore
Published © LGPL

SpaceX Tesseract

Tired of living on a dieing planet waiting to meet your end? Buy our newest product, The Tesseract is here to save the day.

BeginnerShowcase (no instructions)1 hour593
SpaceX Tesseract

Things used in this project

Story

Read more

Schematics

SpaceX Tesseract

Once the code is uploaded all you need is a power source and a container.

Code

SpaceX Tesseract

JavaScript
You tilt it towards the star system you wish to travel to.
light.setBrightness(20)
forever(function () {
    if (input.acceleration(Dimension.Y) >= 500) {
        light.showRing(
        `blue blue white white white white white white blue blue`
        )
    } else if (input.acceleration(Dimension.Y) <= -500) {
        light.showRing(
        `white white white blue blue blue blue white white white`
        )
    } else if (input.acceleration(Dimension.X) >= 500) {
        light.showRing(
        `white blue blue blue white white white white white white`
        )
    } else if (input.acceleration(Dimension.X) <= -500) {
        light.showRing(
        `white white white white white white blue blue blue white`
        )
    } else {
        light.showRing(
        `blue white blue white blue white blue white blue white`
        )
    }
})

Credits

karlee theodore
5 projects • 0 followers
Contact

Comments

Please log in or sign up to comment.