tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 660Markdown 302TOML 157RON 312382 Definitions

⎇ main shared/foreign-lottie/src/schema/shapes/pucker_bloat.rs Rust · 18 lines · 584 B History Who touched what raw

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use crate::schema::shapes::{FloatValue, modifier::ModifierShape};
5use serde::{Deserialize, Serialize};
6
7/// Interpolates the shape with its center point and bezier tangents with the
8/// opposite direction
9#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
10pub struct PuckerBloatShape {
11    #[serde(flatten)]
12    pub modifier: ModifierShape,
13
14    /// Amount as a percentage
15    #[serde(rename = "a")]
16    #[serde(skip_serializing_if = "Option::is_none")]
17    pub amount: Option<FloatValue>,
18}