What CSS should have been: a language that describes whole scenes, not documents.
YOUNA GFX is our second in-house language — also designed and authored by our founder, Muhammad Basharat. Where CSS styles documents, a .gfx file describes an entire visual world: multi-layered 2D compositions, real 3D scenes with meshes, materials, lights and shadows, geographic maps and keyframe animation — all in one readable declarative syntax, compiled and rendered by a single engine we wrote ourselves, with zero dependencies.
The long-term goal is a unified design platform: easier than CSS for beginners, deeper than any styling language for professionals — with an editor, optimizer and portable export, all synchronized with the same language.
GFX has a single procedural paint system — solid, linear and radial gradients, conic sweeps, checker, stripes and noise — that fills 2D shapes and texture-maps 3D surfaces through mesh UVs, so patterns stick to objects rather than the screen. Layers composite with real blend modes, opacity, shadows and transforms, exactly like a professional compositor.
A world block contains a full 3D scene rendered by our own CPU rasterizer with z-buffering and perspective-correct interpolation:
A map layer projects real longitude/latitude features — markers, routes, regions, labels, graticule and great-circle arcs — through equirectangular, Mercator or ortho projections (ortho renders a spinning globe). Procedural terrain with hillshading, 2.5D region extrusion and haversine distance functions are built in, and data blocks bind CSV or GeoJSON files straight into the visuals: one marker per row, values remapped through lin and ramp, filtered with where. Bar charts, scatters and dashboards are native language constructs.
textpath lays text along a curveThe language ships with GFX Studio: a zero-dependency live editor with a source pane, rendered preview, timeline scrubber, scene-tree inspector with two-way editing, pixel-accurate click-to-select (including 3D objects and map features), drag-to-move/scale/rotate handles, undo/redo and one-click GIF export — every change written back into the real .gfx source.
GFX is a companion to our other foundations: rendered frames feed directly into YOUNA Teleport, our own video codec and format, and it sits alongside YOUNA (the universal language), YounaCoin (our blockchain) and YOU (our operating system) in the Younasoft ecosystem.
See the whole ecosystem at younasoft.com, or read about the sister language in YOUNA — our own programming language.
Copyright © Younasons. All rights reserved.
Registered Office: 45 Lockwood Place, London, England, E49AD · Registration No: 16237036 · Registered in England.