Futures
Access hundreds of perpetual contracts
CFD
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
GateRouter
Smartly choose from 40+ AI models, with 0% extra fees
Found an explosive open-source project in the front-end community, 44k stars—it's no hype!
pretext solves a text layout problem that front-end engineers have struggled with for twenty years.
Traditional web rendering relies on DOM; every time you adjust text, you need to recalculate the layout, which is performance-intensive.
This tool bypasses the DOM entirely, using Canvas to perform pure arithmetic calculations of character width and height,
**zero layout reflow**, boosting performance from 30ms down to 0.05ms, a 600x improvement!
Check out some cool features:
✦ Bubble dialog boxes automatically adapt perfectly, with zero pixel waste (CSS simply can't do this)
✦ Real-time ASCII art animations, characters change with brightness
✦ Accordion component automatically calculates height, no CSS hacks needed
✦ Multi-column waterfall layout flows smoothly
In the past, achieving these effects required all kinds of black magic and performance compromises; now, calculations are preprocessed, saving the browser's rendering engine.
The author chenglou (a core member of ReasonML) has truly mastered text layout.
For front-end development, visualization, and creative interactions, this library is a must-see, opening a new world.
Project link in the comments 👇