ballercat / walt

:zap: Walt is a JavaScript-like syntax for WebAssembly text format :zap:

Home Page:https://ballercat.github.io/walt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

visual glitch on bounce

YopSolo opened this issue · comments

in examples\walt\animation.walt

change
export function onInit(totalParticles: i32): void {
width = 500;
height = 300; // visual glitches appears with a lot of particles
total = totalParticles;

by

export function onInit(totalParticles: i32): void {
width = 500;
height = 400; //match the real canvas height
total = totalParticles;

Thanks, I was wondering why this was happening 👍