Origin Scripting Language - Mistium/Origin-OS GitHub Wiki

OSL, the most powerful turbowarp scripting language

Origin Scripting Language (OSL) is the primary system scripting language for originOS, a user interface platform or operating system. It is designed to facilitate various tasks, such as data management, GUI (Graphical User Interface) creation, and application development within the originOS environment.

if you have questions on how to program specific things, join my discord server below and dm me your questions, i don't mind

VS Code OSL Extension

Other Docs

origin.mistium

Methods, Vars and Modifiers

Documentation:

Important

Program Flow (if statements, loops, those things)

Variables (Set values)

UI Elements (Actually render stuff to your application!)

Pen (draw lines and transparency)

Positioning UI (Move where you render stuff)

Operators and expressions (+-/*) and or nor xor

Subroutines (custom commands and events)

Modifiers (stuff that lets you modify a single command in one line: c#fff chx#30 hover_c#444)

Vectors and Mini 3d(do some cool stuff with vectors)

Full 3d

Variables

All Variables

Local scoped vars

Methods

All Methods

Environment

The Window System

Mouse Cursor

Window Data

Notifications

Transmit

Right Click

Data

Arrays

Using Json

Data Types

Time and Timestamps

Edit a data:url (data urls can be edited using these commands)

Enums

Unicode

Canvas

Inputs

Text Input

Colour Picker

Simulating inputs

Camera

Files

File Handling

Reading and writing save data

Permissions and Configuration

External

Iframes

Http

Network

Websockets

Video Player

Sound Handling

OSL Gpt

Other

Fatal Error Codes

Raw Kernel Access

⚠️ **GitHub.com Fallback** ⚠️