正在加载视频...

视频加载失败

Made a little hourglass prototype in SwiftUI this weekend ⏳ I started with the idea of using a physical flip interaction to start/reset a timer and iterated from that

379,897 次观看 • 3 年前 •via X (Twitter)

10 条评论

Alex Widua 的头像
Alex Widua3 年前

The effect is a blur of linear gradients, shapes and SpriteKit particles that are mapped to the device's motion sensor :-) (I really like how it ended up resembling one of the iPhone's signature wallpapers.)

Alex Widua 的头像
Alex Widua3 年前

Here are some designs/particles that didn't make the cut. Either because I couldn't get them to flow nicely or they didn't look that good on the device.

sambø 的头像
sambø3 年前

Getting this vibes but actually useful/fun and updated for current times ;D

Jordan Singer 的头像
Jordan Singer3 年前

wow challenge: make the particles avoid the dynamic island cutout

Nick Dobos 的头像
Nick Dobos3 年前

This is awesome Curious, does it actually tell time? Like can I set it for 10 mins, flip it and wait? Where the sand slows down to match x mins? This would be an AMAZING pomodoro timer if I could stand it up on my desk

Alex Widua 的头像
Alex Widua3 年前

Kinda! I'm using a timer to drive the animations and the sand levels show the remaining and elapsed time. For the sake of the demo I sped up the timer and displayed arbitrary minutes :-) It's just a prototype, but if anyone cares to jump into the code:

saint laurent del rey 的头像
saint laurent del rey3 年前

(っ▀¯▀)つ <333

Aled Samuel 🏴󠁧󠁢󠁷󠁬󠁳󠁿 的头像
Aled Samuel 🏴󠁧󠁢󠁷󠁬󠁳󠁿3 年前

Great idea and gorgeous

Liam McCabe 的头像
Liam McCabe3 年前

So cool!

Andrew Morgan 的头像
Andrew Morgan3 年前

@Davutech

相关视频

In the past few weeks, I deep dived into an exploration revolving around the use of physical interfaces to feed and interact with a real-time img2img diffusion pipeline using Stream Diffusion and SDXL Turbo. What really captivated me is to use my hands, objects, art supplies, tools, and light to create images and scenes. 𝗣𝗵𝘆𝘀𝗶𝗰𝗮𝗹 𝗠𝗲𝗱𝗶𝗮 + 𝗧𝗼𝗼𝗹𝘀 I experimented with clay, manipulating different types and colors along with a selection of prompts. I used a magnifying glass, tracked in real-time, to focus the diffusion process on specific areas. Combining these tools created a dynamic and inspiring experience. Using magic clay to layer shapes and colors as a base for revealing landscapes and hidden worlds, and the magnifying glass to focus and reveal these details, was particularly effective. 𝗣𝗵𝘆𝘀𝗶𝗰𝗮𝗹 𝗟𝗶𝗴𝗵𝘁 I used light as my method of interaction with the img2img diffusion. This approach felt special right away. There was something magical about holding a physical light source and seeing it influence the generated visuals. I iterated on this technique with themes like Rococo architecture, flowers, Brutalist architecture, hidden worlds, and origami landscapes. 𝗜𝗻𝗸 + 𝗛𝘆𝗯𝗿𝗶𝗱 𝗙𝗼𝗿𝗺𝗮𝘁𝘀 I also used ink in milk as a means of physical interaction with the diffusion pipeline. As I drop ink into milk, shapes come alive instantly. By learning to manipulate the combination of physical and digital elements, I steered the generated output toward my areas of interest. These iterations extended beyond ink in milk to include the format in which these elements are contained: a circular plate or a triptych of small stainless steel trays. These formats provide a structured yet flexible framework to explore themes and narratives across multiple visual spaces. It's magical. Some of that last iteration has been captured in this insightful article by Fast Company: #stablediffusion #realtime #ai

Hugues Bruyère

86,381 次观看 • 2 年前