mlsanityData to 7 Oct 2026

fog: Expressing Motion and Emotion through Function Composition of AI-Generated Code

arXiv 2607.07952 ↗First posted 8 Jul 2026cs.HC cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Motion and emotion are core parts of intelligent, expressive behavior. In this paper, we introduce fog, a function composition framework for implementing and compose motion functions. We demonstrate how fog can be used to express motion and emotion in Heider-Simmel style animations. This code generation framework can help users generate functions for verbs, adverbs, gestures, and emotions to create an open-ended motion vocabulary. It is complemented by an animation editor that helps users refine motion through direct manipulation and dynamically generated UI. We evaluate our approach with a perceptual evaluation, where we test 452 fog-generated animations to see if people can recognize the semantic meaning of the motion. We find that fog's motion functions can be recognized at 68% accuracy, a 2.68x improvement over a chance baseline. In a mixed-methods user study with professionals and novices, we show that fog in interface form can support users with more rapid iteration, exploration, and control.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 3 of its 22 references that are in the map. First posted on arXiv 8 Jul 2026.

Builds on

3 of 22 references.

References · 3

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  2. 2024LogoMotion: Visually-Grounded Code Synthesis for Creating and Editing Animationcited by 10
  3. 2025Toyteller: AI-powered Visual Storytelling Through Toy-Playing with Character Symbolscited by 6

Built on by

Not cited yet.