Comments (2)
This is slightly more involved than I realized, the raw data needs some processing, see https://codegolf.stackexchange.com/questions/22620/draw-the-utah-teapot
and the linked: https://stackoverflow.com/questions/14558814/how-do-bezier-patches-work-in-the-utah-teapot
from ctbasic.
Simple pre-calculated outline generated from the original dataset, by taking the X, Z coordinates of the bezier patches. (the lid handle uses a control point for one corner because it looks better).
No bezier calculations have been performed here. it was actually easier to get the outline that I expected, but the model is obviously much less detailed. Pre-calculating a better model using more bezier points could be an exercise for later. Bonus points for doing the processing in CT (😆 !). For now this example serves the intended purpose of being a recognizable pre-calculated not-too-trivial image to display using CT-BASIC.
from ctbasic.
Related Issues (20)
- Some compiled ABCT behaves incorrectly when compared to CT output HOT 4
- Example: rotating cube HOT 1
- Add a command to change pen / line style
- Smooth CLS animation
- Sinclair BASIC multiple commands on one line, separated by a colon HOT 2
- Allow, but ignore, BASIC line numbers
- Only output the rightmost (most recent) STX/ETX bounded group to prevent past output repetitions
- Describe and document
- END = CLEAR 10 ?
- ANIMTEST001.bas broken on master HOT 2
- CHR$(n) -> CHR$ n
- PRINT separators `,;'`
- review context switching HOT 1
- Interactive mode
- Optimise interpreter to process whole productions at a time based on datastring, instead of bit-by-bit.
- List bit/(frame?) length of each command in COMMANDS.md
- update rotating cube example anim
- Strobing on CLEAR using Tek4010 emulator / How to do Tektronix animation properly? HOT 2
- Rule 110 resources
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctbasic.