Cogent Core Docs

0%

Loading...

Static preview:

Cogent Core DocsWidgetsOther

Pages

Cogent Core provides pages, a package for creating content-focused sites consisting of Markdown, HTML, and Cogent Core. This website that you are reading right now is made entirely using pages.

For example, this code recursively makes a copy of this website embedded into this page:

A cross-platform framework for building powerful, fast, elegant 2D and 3D apps

CODE ONCE, RUN EVERYWHERE (CORE)

With Cogent Core, you can write your app once and it will instantly run on macOS, Windows, Linux, iOS, Android, and the web, automatically scaling to any screen. Instead of struggling with platform-specific code in a multitude of languages, you can easily write and maintain a single Go codebase.

EFFORTLESS ELEGANCE

Cogent Core is built on Go, a high-level language designed for building elegant, readable, and scalable code with full type safety and a robust design that never gets in your way. Cogent Core makes it easy to get started with cross-platform app development in just two commands and seven lines of simple code.

COMPLETELY CUSTOMIZABLE

Cogent Core allows developers and users to fully customize apps to fit their unique needs and preferences through a robust styling system and a powerful color system that allow developers and users to instantly customize every aspect of the appearance and behavior of an app.

Theme

Auto

Light

Dark

Color

Edit color

Zoom

Spacing

Font size

Zebra stripes

Screens

Highlighting

Font

Roboto

Mono font

Roboto Mono

POWERFUL FEATURES

Cogent Core comes with a powerful set of advanced features that allow you to make almost anything, including fully featured text editors, video and audio players, interactive 3D graphics, customizable data plots, Markdown and HTML rendering, SVG and canvas vector graphics, and automatic views of any Go data structure for instant data binding and advanced app inspection.

OPTIMIZED EXPERIENCE

Every part of your development experience is guided by a comprehensive set of editable interactive example-based documentation, in-depth video tutorials, easy-to-use command line tools specialized for Cogent Core, and active support and development from the Cogent Core developers.

EXTREMELY FAST

Cogent Core is powered by WebGPU, a modern, cross-platform, high-performance graphics framework that allows apps to run on all platforms at extremely fast speeds. All Cogent Core apps compile to machine code, allowing them to run without any overhead.

FREE AND OPEN SOURCE

Cogent Core is completely free and open source under the permissive BSD-3 License, allowing you to use Cogent Core for any purpose, commercially or personally. We believe that software works best when everyone can use it.

USED AROUND THE WORLD

Over six years of development, Cogent Core has been used and thoroughly tested by developers and scientists around the world for a wide variety of use cases. Cogent Core is an advanced framework actively used to power everything from end-user apps to scientific research.

What can Cogent Core do?

COGENT CODE

Cogent Code is a fully featured Go IDE with support for syntax highlighting, code completion, symbol lookup, building and debugging, version control, keyboard shortcuts, and many other features.

COGENT CANVAS

Cogent Canvas is a powerful vector graphics editor with complete support for shapes, paths, curves, text, images, gradients, groups, alignment, styling, importing, exporting, undo, redo, and various other features.

COGENT NUMBERS

Cogent Numbers is a highly extensible math, data science, and statistics platform that combines the power of programming with the convenience of spreadsheets and graphing calculators.

COGENT MAIL

Cogent Mail is a customizable email client with built-in Markdown support, automatic mail filtering, and an extensive set of keyboard shortcuts for advanced mail filing.

COGENT CRAFT

Cogent Craft is a powerful 3D modeling app with support for creating, loading, and editing 3D object files using an interactive WYSIWYG editor.

EMERGENT

Emergent is a collection of biologically based 3D neural network models of the brain that power ongoing research in computational cognitive neuroscience.

Why Cogent Core instead of something else?

THE PROBLEM

After using other frameworks built on HTML and Qt for years to make apps ranging from simple tools to complex scientific models, we realized that we were spending more time dealing with excessive boilerplate, browser inconsistencies, and dependency management issues than actual app development.

THE SOLUTION

We decided to make a framework that would allow us to focus on app content and logic by providing a consistent and elegant API that automatically handles cross-platform support, user customization, and app packaging and deployment.

THE RESULT

Instead of constantly jumping through hoops to create a consistent, easy-to-use, cross-platform app, you can now take advantage of a powerful featureset on all platforms and vastly simplify your development experience.