40ants / reblocks

A fork of Weblocks Common Lisp web framework
https://40ants.com/reblocks/
Other
53 stars 10 forks source link

Html5 Canvas #4

Open heylisp opened 3 years ago

heylisp commented 3 years ago

Hello, I can't figure out how to use canvas. Is there any example code? Is Javascript required? Please give me some hint! Thank you very much!

svetlyak40wt commented 3 years ago

There is no such widget yet. But probably CLOG can be used for this purpose.

Take a look at this idea:

https://github.com/rabbibotton/clog/issues/2

heylisp commented 3 years ago

There is no such widget yet. But probably CLOG can be used for this purpose.

Take a look at this idea:

rabbibotton/clog#2

Thanks a lot! It sounds what I need. I'll try it!

rabbibotton commented 3 years ago

Look at clog demo 1 a full game using canvas as well as clog tutorial 10.

heylisp commented 3 years ago

Look at clog demo 1 a full game using canvas as well as clog tutorial 10.

That's great! I'm interested in web graphics: does clog support also 3d graphics? I see you implemented 2d canvas and games: do you think that's possible in 3d and make it also responsive like vector graphics (canvas seems fixed, right?)? Thank you!