How the Language Works
— A Little Metaphor
Let’s go on a little journey together.
Imagine walking into a magical store. It’s huge, bright, and filled with shelves reaching all the way up to the ceiling. Everywhere you look, there’s something exciting: paints, wallpapers, brushes, lamps, glue — even a few strange little gadgets you didn’t know you needed… until now.
You grab an empty cart and start browsing the aisles. Suddenly, you see the perfect can of paint — the kind of color that practically calls your name. Into the cart it goes! A bit further down, you find a gorgeous wallpaper with a pattern you know will be stunning at home. Then you grab a brush, some tape, a little glue, and maybe even a tiny lamp you unexpectedly fall in love with.
But this shop is special. Because here, you can also buy time. And of course, you think: “Yes, please!” — because we all know creative projects always take a little longer than we expect.
Eventually, you’re standing there with a cart overflowing with everything you need. But in 3D Basic, we wouldn’t call it a cart — we’d call it a cart full of objects and attributes.
Now it’s time to go home. You start using your items: the wallpaper goes on the wall, the paint on the dresser, the lamp in its spot, and each little detail takes its place in your project. Bit by bit, your idea takes shape, exactly the way you imagined it.
And when everything is ready — when every object has its attributes — the magical moment arrives:
You take a step back, look at your work and, in 3D Basic, you bring it all to life with a single command:
You either use .draw
Or the render instruction.
Basically, you’re telling the computer: “Show me everything I’ve created.” And just like that — in an instant — the entire picture appears on the screen. Every object, every color, every detail… all in its place.
And there you stand, maybe a little proud, thinking: "Wow… I actually built this myself."
That’s exactly how 3D Basic works. It’s a playful, creative journey where you gather your building blocks, give them properties, and then — with a single instruction — watch everything take shape right before your eyes.
Okay, I’ll stop talking now and let the fun begin!
I hope this manual can be your trusted companion as you start your own adventure in 3D Basic.
And remember: it’s perfectly okay to make mistakes — because that’s often when the best ideas are born.
Happy coding!
— Peter Ekvall