Particle fountain: Difference between revisions

Content added Content deleted
(Added Lua video link)
Line 387: Line 387:


=={{header|Lua}}==
=={{header|Lua}}==
[https://github.com/offlinesoftware/luafountain/blob/main/fountain.m4v?raw=true Video is here]
{{libheader|LÖVE}}
{{libheader|LÖVE}}
<syntaxhighlight lang="lua">-- Returns canvas of given width and height containing a circle
<syntaxhighlight lang="lua">-- Returns canvas of given width and height containing a circle
Line 426: Line 427:
love.graphics.draw(psystem)
love.graphics.draw(psystem)
end</syntaxhighlight>
end</syntaxhighlight>

[https://github.com/offlinesoftware/luafountain/blob/main/fountain.m4v?raw=true Link to a video]
=={{header|Nim}}==
=={{header|Nim}}==
{{trans|Julia}}
{{trans|Julia}}