Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
🫧 socialcoding.. boosted
Karsten Schmidt
Karsten Schmidt
@toxi@mastodon.thi.ng  ·  activity timestamp 2 months ago

This week I've been rewriting (in Zig) the position-based dynamics & cellular-automata engines used for the cloth sim in my #DANZA art project (check the hashtag for older WIP)... Still endless tweaking, but could already stare at this beauty for hours, literally!

(And of course, I'm also again "dogfooding" http://thi.ng/genart-api for defining/handling parameters and animation timing...)

#GenerativeArt #AlgorithmicArt #CellularAutomata #Physics #Simulation #GenArtAPI #Zig #WASM #WebAssembly #NoAI

thi.ng/genart-api

Platform independent API for browser-based algorithmic/generative/procedural art

Your browser does not support the video tag.
GIF
GIF
Screen recording of dozens of colorful pieces of cloth (2D physics sim, driven by agents) floating in an otherwise blank space. Each piece of "cloth" has its own color, only consists of thousands of dots connected by invisible springs and has an animated texture (2D cellular automata)
Screen recording of dozens of colorful pieces of cloth (2D physics sim, driven by agents) floating in an otherwise blank space. Each piece of "cloth" has its own color, only consists of thousands of dots connected by invisible springs and has an animated texture (2D cellular automata)
  • Copy link
  • Flag this post
  • Block
Karsten Schmidt
Karsten Schmidt
@toxi@mastodon.thi.ng  ·  activity timestamp 2 months ago

This week I've been rewriting (in Zig) the position-based dynamics & cellular-automata engines used for the cloth sim in my #DANZA art project (check the hashtag for older WIP)... Still endless tweaking, but could already stare at this beauty for hours, literally!

(And of course, I'm also again "dogfooding" http://thi.ng/genart-api for defining/handling parameters and animation timing...)

#GenerativeArt #AlgorithmicArt #CellularAutomata #Physics #Simulation #GenArtAPI #Zig #WASM #WebAssembly #NoAI

thi.ng/genart-api

Platform independent API for browser-based algorithmic/generative/procedural art

Your browser does not support the video tag.
GIF
GIF
Screen recording of dozens of colorful pieces of cloth (2D physics sim, driven by agents) floating in an otherwise blank space. Each piece of "cloth" has its own color, only consists of thousands of dots connected by invisible springs and has an animated texture (2D cellular automata)
Screen recording of dozens of colorful pieces of cloth (2D physics sim, driven by agents) floating in an otherwise blank space. Each piece of "cloth" has its own color, only consists of thousands of dots connected by invisible springs and has an animated texture (2D cellular automata)
  • Copy link
  • Flag this post
  • Block
Karsten Schmidt
Karsten Schmidt
@toxi@mastodon.thi.ng  ·  activity timestamp 6 months ago

Various thi.ng updates, bug fixes, additions and new version of https://github.com/thi-ng/zig-thing/ — now fully compatible with current Zig v0.14.1

On a more diary/devlog note: I also updated several of my Zig based work-in-progress art pieces to the latest version (some of them not touched in 2+ years) and it's so good to see how the https://thi.ng/wasm-api toolchain has been holding up with various breaking Zig changes and also how this setup simplifies creating hybrid Zig/TypeScript projects (e.g. for using DOM/WebGL from Zig). Related, I also want to mention once more the #GenArtAPI Zig WebAssembly bindings[1] (updated a few weeks ago), which add another layer of flexibility & boilerplate reduction for generative/procedural/algorithmic art projects...

I will be attempting yet another few takes creating a video overview & mini-workshop/tutorial about https://thi.ng/genart-api, hopefully also touching on these aspects...

[1] https://github.com/thi-ng/genart-api/tree/main/packages/wasm

#ThingUmbrella #Zig #Ziglang #WebAssembly #WASM #GenArtAPI #Art #GenerativeArt #AlgorithmicArt

GitHub

genart-api/packages/wasm at main · thi-ng/genart-api

Generalized API for browser-based generative art projects, plug & play support for platform specifics, parameter declarations, GUI creation, IPC - thi-ng/genart-api
GitHub

GitHub - thi-ng/zig-thing: Small collection of data types/structures, utilities & open-learning with Zig

Small collection of data types/structures, utilities & open-learning with Zig - thi-ng/zig-thing
thi.ng/genart-api

Platform independent API for browser-based algorithmic/generative/procedural art

thi.ng/wasm-api

Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects

Still image of S-TRACE, an abstract generative realtime animation based on omnidirectional sphere tracing and multiple agents exploring the constantly changing positive & negative spaces
Still image of S-TRACE, an abstract generative realtime animation based on omnidirectional sphere tracing and multiple agents exploring the constantly changing positive & negative spaces
Still image of S-TRACE, an abstract generative realtime animation based on omnidirectional sphere tracing and multiple agents exploring the constantly changing positive & negative spaces
Still image/poster of DANZA, an abstract, generative physics-based realtime animation. The composition shows multiple overlapping patches of cloth sims, each represented by tens of thousands of small dots, each patch in different colors.
Still image/poster of DANZA, an abstract, generative physics-based realtime animation. The composition shows multiple overlapping patches of cloth sims, each represented by tens of thousands of small dots, each patch in different colors.
Still image/poster of DANZA, an abstract, generative physics-based realtime animation. The composition shows multiple overlapping patches of cloth sims, each represented by tens of thousands of small dots, each patch in different colors.
  • Copy link
  • Flag this post
  • Block
Karsten Schmidt
Karsten Schmidt
@toxi@mastodon.thi.ng  ·  activity timestamp 7 months ago

#ReleaseMonday — New version (v0.27.0) of https://thi.ng/genart-api, a platform-independent extensible API for browser-based computational/algorithmic/generative art projects:

This version features an overhaul of the platform provided PRNG (pseudo-random number generator) handling and makes it easier to create multiple PRNGs for artworks which require/desire them...

Related section in the README:
https://github.com/thi-ng/genart-api/blob/main/README.md#determinism--prng-provision

Also, just as a reminder, the project has:

- no external dependencies
- adapters for 3 art platforms (EditArt, fxhash, Layer)
- 6 example projects
- testing/dev sandbox with two parameter editors
- WebAssembly bindings & demo (currently for #Zig only)

Happy coding! :)

#GenArtAPI #GenerativeArt #AlgorithmicArt #ProceduralArt #Art #OpenSource #Parameters #Interoperability #TypeScript #JavaScript #WebAssembly #WASM #Ziglang

GitHub

genart-api/README.md at main · thi-ng/genart-api

Generalized API for browser-based generative art projects, plug & play support for platform specifics, parameter declarations, GUI creation, IPC - thi-ng/genart-api
thi.ng/genart-api

Platform independent API for browser-based algorithmic/generative/procedural art

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct