45 lines
2.0 KiB
Markdown
45 lines
2.0 KiB
Markdown
---
|
|
title: "animation + mouse + layout looking realllllllll"
|
|
type: archive
|
|
source: twitter
|
|
source_url: "https://x.com/ThePrimeagen/status/2060356737161469987"
|
|
author: "ThePrimeagen"
|
|
handle: ThePrimeagen
|
|
post_id: "2060356737161469987"
|
|
date: 2026-05-29
|
|
archived: 2026-08-26
|
|
draft: false
|
|
tags:
|
|
- archive
|
|
- twitter
|
|
- ThePrimeagen
|
|
description: "animation + mouse + layout looking realllllllll"
|
|
in_reply_to: ""
|
|
---
|
|
|
|
## Source
|
|
|
|
- URL: https://x.com/ThePrimeagen/status/2060356737161469987
|
|
- Author: ThePrimeagen (@ThePrimeagen)
|
|
- Posted: 2026-05-29 13:45:00
|
|
|
|
## Thread
|
|
|
|
**1/** **@ThePrimeagen** ^2060356737161469987
|
|
|
|
animation + mouse + layout looking realllllllll
|
|
|
|
<video controls src="https://video.twimg.com/amplify_video/2060356626284969985/vid/avc1/1920x1080/TkmRMXgONe9lFbSu.mp4?tag=27"></video>
|
|
|
|
**2/** **@ThePrimeagen** ^2060358636124180961
|
|
|
|
with children, they get scaled too
|
|
|
|
animations are surprisingly easy and hard at the same time..
|
|
|
|
~2.3k lines of code for mouse interactions, animation system, and immediate mode ui with off axis alignment (haven't made on axis alignment)
|
|
|
|
<video controls src="https://video.twimg.com/amplify_video/2060358361070059520/vid/avc1/1920x1080/I6ZGW_HNrPUAdQ5o.mp4?tag=27"></video>
|
|
|
|
Branches: [[archive/threads/ThePrimeagen/2026-05-29-animation-mouse-layout-looking-realllllllll/2026-05-29-ysoftware-i-dont-even-have-a-layout-system-mostly-just]], [[archive/threads/ThePrimeagen/2026-05-29-animation-mouse-layout-looking-realllllllll/2026-05-29-Pirazel-everything-gui-related-is-always-lines-and-lines]], [[archive/threads/ThePrimeagen/2026-05-29-animation-mouse-layout-looking-realllllllll/2026-05-29-vkrajacic-sir-you-cant-just-build-your-ui-like-that-in-a]], [[archive/threads/ThePrimeagen/2026-05-29-animation-mouse-layout-looking-realllllllll/2026-05-29-ITangoI-born-to-gui-forced-2-tui]], [[archive/threads/ThePrimeagen/2026-05-29-animation-mouse-layout-looking-realllllllll/2026-05-31-MohsinHijazee-are-you-using-the-clay-by-any-chance-into-the-mix]]
|