Copy template to a text file on your computer, save as code.html and view in Browser.
older | more | convert | pizzazz | codepen<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>ZIM - Code Creativity</title> <!-- zimjs.com - JavaScript Canvas Framework --> <script type="module"> import zim from "https://zimjs.org/cdn/017/zim"; // See Docs under Frame for FIT, FILL, FULL, and TAG new Frame(FIT, 1024, 768, light, dark, ready); function ready() { // given F (Frame), S (Stage), W (width), H (height) // put code here new Circle(100, purple) .center() .drag(); } // end ready </script> <meta name="viewport" content="width=device-width, user-scalable=no" /> </head> <body></body> </html>
Copy template to a text file on your computer, save as code.html and view in Browser.
newer | more | convert | pizzazz | codepen<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>ZIM - Code Creativity</title> <!-- zimjs.com - JavaScript Canvas Framework --> <script src="https://zimjs.org/cdn/1.4.1/createjs.js"></script> <script src="https://zimjs.org/cdn/017/zim_min.js"></script> <script> // See Docs under Frame for FIT, FILL, FULL, and TAG const frame = new Frame(FIT, 1024, 768, light, dark); frame.on("ready", () => { const stage = frame.stage; let stageW = frame.width; let stageH = frame.height; // put your code here new Circle(100, purple) .center() .drag(); }); // end ready </script> <meta name="viewport" content="width=device-width, user-scalable=no" /> </head> <body></body> </html>
Copy template to a text file on your computer, save as code.html and view in Browser.
newer | older | more | convert | codepen<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>ZIM - Code Creativity</title> <!-- zimjs.com - JavaScript Canvas Framework --> <script type="module"> import zim from "https://zimjs.org/cdn/017/zim_pizzazz"; // See Docs under Frame for FIT, FILL, FULL, and TAG new Frame(FIT, 1024, 768, light, dark, ready); function ready() { // given F (Frame), S (Stage), W (width), H (height) // put code here // for more shapes, icons and patterns see // https://zimjs.com/docs.html?item=pizzazz makePattern("slants", series(fog, mist), 10, 50, 40).center(); new Button({ backing:makeShape("cloud", black), rollBacking:makeShape("cloud", white), icon:makeIcon("home", white), rollIcon:makeIcon("home", black) }).center().tap(()=>{zgo("https://zimjs.com")}); } // end ready </script> <meta name="viewport" content="width=device-width, user-scalable=no" /> </head> <body></body> </html>
Copy template to a text file on your computer, save as code.html and view in Browser.
newer | older | more | pizzazz | codepen<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>ZIM - Code Creativity</title> <!-- zimjs.com - JavaScript Canvas Framework --> <script type="module"> import zim from "https://zimjs.org/cdn/017/zim"; // See Docs under Frame for FIT, FILL, FULL, and TAG new Frame(FIT, 1024, 768, light, dark, ready); function ready(frame, stage, stageW, stageH) { // given F (Frame), S (Stage), W (width), H (height) // but we have also collected frame, stage, stageW, stageH // these are the variables we used in older versions of the template // put code here new Circle(100, purple) .center() .drag(); } // end ready </script> <meta name="viewport" content="width=device-width, user-scalable=no" /> </head> <body></body> </html>
Use ZIM Sprites for INTERACTIVE ANIMATION see info page!
![Interactive Animation with Sprites, SpriteSheets on the Canvas with ZIMjs](https://d309knd7es5f10.cloudfront.net/vee/code_interactive_animation.jpg)
ZIM is perfect for INTERACTIVE NFTS here we show you how!
![ZIM NFT - Interactive NFTs (Non-Fungible Tokens) can be easily made with ZIMjs](https://d309knd7es5f10.cloudfront.net/vee/code_nft.jpg)
Make MOBILE APPS with the ZIM PWA TOOL called Zapps!
![ZIM Zapps - Make PWA mobile apps in five minutes with ZIM](https://d309knd7es5f10.cloudfront.net/cat/zapps.jpg)
Visit ZIM SHIM to use ZIM in Adobe Animate with CreateJS!
![ZIM SHIM - Publish with Adobe Animate for HTML Canvas coding with JavaScript and CreateJS](https://d309knd7es5f10.cloudfront.net/ten/zimshim_new.jpg)
Explore ZIM on CODEPEN and get TEMPLATES and more!
![ZIM on CodePen - for HTML Canvas coding with JavaScript and CreateJS](https://d309knd7es5f10.cloudfront.net/zim/codepen.jpg)
Use ZIM ACCESSIBILITY for Screen Readers - see the DOCS
![ZIM Accessibility - Screen Reader support for HTML Canvas coding with JavaScript and CreateJS](https://d309knd7es5f10.cloudfront.net/cat/accessibility.jpg)
The ZIM CDN (Content Delivery Network) holds links to code files stored on the cloud with CloudFlare
Import ES6 MODULES or use SCRIPT TAGS