CodeWorld is an educational programming environment that uses a Haskell-inspired language to teach computational thinking through graphics and interactive animation. The web-based IDE provides immediate visual feedback: students write code that draws shapes, composes pictures, and responds to events to build simple games and simulations. Its API emphasizes mathematics and geometry rather than low-level UI details, making it approachable for classrooms and self-learners. Projects run in the browser, leveraging a compiler pipeline that turns the high-level code into JavaScript so no installation is required. The platform includes project management, sharing, and classroom features so instructors can distribute examples and students can submit work. By constraining the language surface and curating libraries, CodeWorld balances the expressive power of functional programming with the simplicity needed for first-time programmers.
Features
- Browser-based editor and compiler (no local install required)
- Support for animations, interactive graphics, and simple games
- Multi-player / interactive support (collaborative features)
- Integration of educational Haskell variant and standard Haskell mode
- Sharing via permalink / URL of code to run in browser
- Dual backend rendering (GHCJS for web, blank-canvas for local)