ConeScript describes worlds for the 3-D web: what is in them, where it is, what it is made of, how it looks, sounds and moves, and how it answers the people in it. A world arrives as ConeScript, is checked, built on each visitor's machine and on the server, and runs. These pages set out the language as designed so far, part by part, with worked examples.

Start here: the guide

Five short pages that build one thing, a block that grows into a garden lantern, and touch every part of the language on the way. Each page changes the script from the page before. After the guide, the reference below has the full detail of each subject.

  1. A first world: a block floating above a floor, a matte surface, the sun, and a place to stand. Parts, shapes as recipes, materials, lights.
  2. Bring it to life: the block becomes steel, turns, brightens when you come near, and hops when clicked. Physical materials, animators, rules and events, fields.
  3. Grow it into a lantern: a turned post and a lofted roof made from paths, pieces copied and joined into one shape.
  4. Light it: evening, a lamp inside, glowing glass, and a lantern that fades on as you walk up.
  5. A place to visit: six lanterns from one design, a sky that follows the time of day, lamps lit at dusk, and a second scene through a hatch.

Introduction

Part 1. Fundamentals

Part 2. Parts and the world tree

Part 3. Behavior: how values change

Part 4. Construction

Part 5. Appearance

Part 6. The 2D half

Part 7. What the engines take

Part 8. The browser and the network

Appendix. Reference and examples