Advertisement Β· 728 Γ— 90

Posts by matia πŸ‡­πŸ‡·

Video

I had a cool idea for a code preview component in Animotion while working on a video

It's just an <iframe> you control the contents of using the same code update API for each block and resolve imports using an import map

You could also compile Svelte components this way

1 day ago 2 0 0 0

You can update to the latest version of Animotion to use the new code update API ❀️

I also cooked the Easter ham 😀

4 days ago 5 0 0 0
Video

I'm exploring a Svelte version of Remotion for making videos using code

5 days ago 28 1 1 0
Video

I'm trying out a new API to improve how code updates work in Animotion πŸͺ„

Having to pass the entire code string to `update` is a thing of the past with the new `append`, `insert`, `replace` and `remove` methods ✨

5 days ago 11 0 0 1
Preview
Code Animotion is a presentational framework for creating beautiful slides and visualizing ideas with code.

animotion.pages.dev/docs/code#co...

1 week ago 1 0 0 0
Video

I added the new code selection API to Animotion! πŸ₯³

The new `select` and `selectAdd` methods allow for more granular code selection without having to know which tokens are selectable

You can update and try it now

1 week ago 6 0 1 0
Preview
feat: custom renderers API by paoloricciuti Β· Pull Request #18042 Β· sveltejs/svelte Closes #15470 We&#39;re so back! Finally, thanks to Syntax and SuppCo that sponsored the Custom Renderers initiative, I was able to work full-time for a bit on this (thanks again to my employer, Ma...

github.com/sveltejs/sve...

1 week ago 10 0 0 0
Post image

Svelte is taking a leap towards supporting other rendering targets besides the DOM like terminals and native mobile apps

1 week ago 107 3 3 4
Post image

Think I cracked the ideal code selection API for Animotion

The current version expects you to know which tokens to select and is awkward to use when there are multiple identical tokens

The new API would be more intuitive to use and fix these issues

1 week ago 1 0 0 0
Advertisement

That's for legacy addons but I'm going to update the docs to make it more clear

1 week ago 1 0 1 0
The Magic Behind Shiki Magic Move
The Magic Behind Shiki Magic Move YouTube video by Joy of Code

I took a deep dive explaining the magic behind Shiki Magic Move from how it diffs code to how it orchestrates transitions for smoothly animated code blocks πŸ”₯

youtu.be/mjw3X6bPIpA

1 week ago 3 0 0 1
Post image

You have to use instance mode but the basic example doesn't work for some reason

1 week ago 0 0 1 0
Video

I learned import maps let you control how imports are resolved so I made a REPL that can load the Svelte runtime and resolve imports over a CDN πŸ”₯

1 week ago 14 0 0 0

I use Arch by the way

1 week ago 1 0 1 0

I wouldn't care if GitHub wasn't just left to rot over the years and spawned a cottage industry of services to pick up the slack

1 week ago 0 0 0 0

It's not going to stop them but it's a virtual middle finger to Microslop

1 week ago 0 0 1 0
Post image

Don't let them farm you πŸ§‘β€πŸŒΎ

1 week ago 39 8 2 0
Preview
feat: experimental `query.live` remote function by Rich-Harris Β· Pull Request #15563 Β· sveltejs/kit This implements a new query.live remote function that provides a live view of some real-time data. The semantics are similar to query and query.batch you can {await myLiveQuery(123)} in your compo...

github.com/sveltejs/kit...

2 weeks ago 9 0 0 0
Advertisement
Post image

Real-time data is coming to SvelteKit πŸ”₯

2 weeks ago 53 3 4 0
Preview
a man with a mustache is wearing a suit and tie and making a funny face . ALT: a man with a mustache is wearing a suit and tie and making a funny face .
2 weeks ago 1 0 0 0
Post image

Awesome thing about SvelteKit remote functions is that you only have to check for auth when it's required instead of every request inside hooks

2 weeks ago 31 0 5 0
Preview
GitHub - matiadev/p5-svelte: 🍬 p5.js Svelte wrapper 🍬 p5.js Svelte wrapper. Contribute to matiadev/p5-svelte development by creating an account on GitHub.

You can find more information and examples here

github.com/matiadev/p5-...

2 weeks ago 1 0 1 0

Happy to help 🫑

1. Put them in the `static` folder so they're available from the root `/sfx.mp3` or import them from anywhere using `import sfx from '$lib/assets/sfx.mp3'`
2. You can import addons like any other JavaScript file
3. They both work
4. Create another `<P5Sketch>` and pass your sketch

2 weeks ago 1 0 2 0
Video

View transitions are supported by most browsers so take advantage of them πŸ”₯

2 weeks ago 38 0 3 0
How To Animate Code Using TypeScript
How To Animate Code Using TypeScript YouTube video by Joy of Code

Let's talk about how to smoothly animate code blocks using TypeScript and Shiki Magic Move πŸͺ„

youtu.be/wGf0PUlOQoA

2 weeks ago 16 0 0 0
How To Use Old Libraries Like P5.js In Svelte
How To Use Old Libraries Like P5.js In Svelte YouTube video by Joy of Code

I made a p5.js wrapper for Svelte you can install with `npm i @β€Žsveltecraft/p5-svelte` or watch the video where I explain how it's used and making old libraries work in Svelte

youtu.be/97bD9ZHwv2U

3 weeks ago 83 11 5 0
Post image Post image

The new Firefox redesign competes with Vivaldi over which one looks worse by default

3 weeks ago 304 24 46 3
Advertisement
Post image Post image

I explored the DX of p5.js global mode when using instanced mode so I asked the clanker to make a proxy wrapper

Sounds great in theory but manual destructuring and not having autocomplete kind of sucks

3 weeks ago 5 0 0 0

Yeah I'm not a fan of API usage pricing unless it has knobs to set a limit, but from what I know it can also be more expensive per token than using a plan

3 weeks ago 2 0 0 0
Post image

I'm trying clanker value plans that don't lock you into some cringe editor as I'd rather spend the money on kebab

GitHub Copilot $10/m is great to get started and has a free trial β€” I'm trying OpenCode Go $10/m with GLM-5, Kimi, MiniMax

Anything else you recommend trying?

3 weeks ago 7 0 2 0